Skip to content

fdadensity

0.1.4

Functional Data Analysis for Density Functions by Transformation to a Hilbert Space

1packages depend
4.6Kdownloads / year
43.4%test coverage
13/13checks pass

Overview

About
Maintained by Alexander PetersenFirst published 2017-10-164 releasesCRAN page ↗GitHub ↗

An implementation of the methodology described in Petersen and Mueller (2016) doi:10.1214/15-AOS1363 for the functional data analysis of samples of density functions. Densities are first transformed to their corresponding log quantile densities, followed by ordinary Functional Principal Components Analysis (FPCA). Transformation modes of variation yield improved interpretation of the variability in the data as compared to FPCA on the densities themselves. The standard fraction of variance explained (FVE) criterion commonly used for functional data is adapted to the transformation setting, also allowing for an alternative quantification of variability for density data through the Wasserstein metric of optimal transport.

Install

Health

CRAN checks
13OK
Slowest check: 2.3 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.11
43.4%
Coverage · measured lines
100%
Documentation · exports
2
Dependencies · direct
Check history
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-22
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 134 wordsVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
88%
Return-value docs
93%
References docs
88%

Downloads

4.6K
CRAN downloads in the past year
Rank #10,838 · ~13/day · ~385/mo
Daily download trend is not available in this view yet.
31330 days
99190 days
4.6K1 year
Compare downloads with other packages →
Also on514 r2u36 autocran88 c2d4u

Repository

Repository
3Stars
0Forks
1Open issues
0Open PRs
0Releases
43Commits
3Contributors
43 commits · Last activity 2025-04-14

Stars over time

2022-04-19 · 32026-07-07 · 3

Repository practices

Upstream repositoryBeta

Checks run against github.com/functionaldata/tdens on 2026-07-19.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.3.0
Imports (2)
LinkingTo (1)
Suggests (1)
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

Code Composition
R 992 (54%)Rd 746 (40%)C++ 115 (6%)
Code characteristics
Cyclomatic complexity
3.0 median / 10 max
Test cases
12 / 0.11 per code line

Test coverage

Line coverage

43%

Expression

45.2%

Tests / Examples

43.4% / 76% ex

Functions

24 15 exported

Complexity

3.8 avg / 10 max

Call network

24 nodes / 35 edges

Loading call graph…

Lowest coverage

24 functions
FunctionCycloCoverage
CreateModeOfVarPlotLQ2D exp100%
FPCAdens exp10%
GetFVE exp60%
MakeDENsample exp20%
MakeLQDsample exp20%
dens2lqd exp557%

People & History

People (4)
Maintainer (1)
Maintainer · added in 0.1.4
Authors (3)
Listed in earlier versions (1)
no longer listed · 0.1.4
Package Timeline

4 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.1.4Latest
    2025-03-29 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.2
    2019-12-05 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • 0.1.1
    2018-02-08 · diff ↗
  • 0.1.0
    2017-10-16
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2017-10-16
Total releases
4 / 9 yrs
License
BSD_3_clause + file LICENSE OSI
Minimum R
≥ 3.3.0
Bundled data
3.3 MB / 3 files
Download size
3.4 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views
Report a problem with this page →