Statistical Analysis for Random Objects and Non-Euclidean Data
Overview
Provides implementation of statistical methods for random objects lying in various metric spaces, which are not necessarily linear spaces. The core of this package is Fréchet regression for random objects with Euclidean predictors, which allows one to perform regression analysis for non-Euclidean responses under some mild conditions. Examples include distributions in 2-Wasserstein space, covariance matrices endowed with power metric (with Frobenius metric as a special case), Cholesky and log-Cholesky metrics, spherical data. References: Petersen, A., & Müller, H.-G. (2019) doi:10.1214/17-AOS1624.
Changes:
- Included implementations for Fréchet variance and Fréchet ANOVA <DOI:10.1093/biomet/asz052>.
- Included implementations for Fréchet change-point detection <DOI:10.1214/19-AOS1930>.
- Included methods for functional object data proposed in <DOI:10.1080/01621459.2021.1917416> and <DOI:10.1111/rssb.12337>.
- Included implementations for Fréchet regression for spherical responses and correlations <DOI:10.1214/17-AOS1624>.
- Included implementations for point process Fréchet regression <DOI:10.1109/TIT.2021.3126466>.
- Included computation for Fréchet means with potentially unequal weights.
Minors:
- Fixed bugs in Fréchet regression for distributions and covariances.
From NEWS in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 37includes a package overview page
- Examples that run
- 47%14 run in a plain check · 16 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 86%
- Documented parameters
- 90%
- Return-value docs
- 100%
- Help pages citing references
- 59%
Downloads
Repository
- PRs merged (all time)
- 77%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 0
2 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/functionaldata/tfrechet on 2026-10-21.
Dependencies
Installing frechet adds 63 packages (34 with compiled code, 65 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.3.0Latest2023-12-09 · current release · diff ↗ ·
added 24 exports
CovFIntegral, DenANOVA, DenCPD, DenFVar, GloCorReg, GloPointPrReg, GloSpheReg, LocCorReg, LocPointPrReg, LocSpheReg, NetANOVA, NetCPD, NetFIntegral, NetFVar, ObjCov, SpheGeoDist, SpheGeoGrad, SpheGeoHess, VarObj, WassFIntegral, expSphere, frameSphere, logSphere, pol2car - RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.2.0
- 0.1.02020-06-19
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2020-06-19
- Total releases
- 3 / 6 yrs
- License
- BSD_3_clause + file LICENSE OSI
- Download size
- 91 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("frechet")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-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.