fdadensity
0.1.4Functional Data Analysis for Density Functions by Transformation to a Hilbert Space
Overview
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
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-04-2214 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-1813 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 88%
- Return-value docs
- 93%
- References docs
- 88%
Downloads
Repository
Stars over time
Issues over time
Repository practices
Checks run against github.com/functionaldata/tdens on 2026-07-19.
No development-tooling practices detected in the upstream repository.
Dependencies
Code & Tests
- 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
Call graph
Open call graph →Lowest coverage
24 functions| Function | Cyclo | Coverage |
|---|---|---|
| CreateModeOfVarPlotLQ2D exp | 10 | 0% |
| FPCAdens exp | 1 | 0% |
| GetFVE exp | 6 | 0% |
| MakeDENsample exp | 2 | 0% |
| MakeLQDsample exp | 2 | 0% |
| dens2lqd exp | 5 | 57% |
People & History
4 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.1.4Latest
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 0.1.22019-12-05 · diff ↗
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- 0.1.12018-02-08 · diff ↗
- 0.1.02017-10-16
- RR 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