Functional 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
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-04-22
Show 2 earlier changesHide 2 earlier changes
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-03-10
Documentation
- Help pages
- 17
- Examples that run
- 100%15 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 88%
- Return-value docs
- 93%
- Help pages citing references
- 88%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 0
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Issues over time
Checks run against github.com/functionaldata/tdens on 2026-10-18.
No development-tooling practices detected in the upstream repository.
Dependencies
Installing fdadensity adds 56 packages (29 with compiled code, 57 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.
Code & Tests
Datasets
People & History
Maintainer since 0.1.0 (2017)
Pick two releases to compare their code metrics.
- 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.2
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- 0.1.1
- 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
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("fdadensity")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.