Learn R Programming

frechet: Statistical Analysis for Random Objects and Non-Euclidean Data

Test version of frechet package

Installation of the current development version

You can install the development version of the package in R using:

devtools::install_github("functionaldata/tFrechet")

Installation of the latest CRAN release

You can install the package in R using:

install.packages("frechet")

Load Package and Data

Once installed you can load the package with:

library(frechet)

Acknowledgment

The development of this package is supported by grants from NSF DMS-2014626, NIH ECHO and the Bill and Melinda Gates Foundation.

Copy Link

Version

Install

install.packages('frechet')

Monthly Downloads

287

Version

0.3.0

License

BSD_3_clause + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Yaqing Chen

Last Published

December 9th, 2023

Functions in frechet (0.3.0)

DenCPD

Fréchet Change Point Detection for Densities
CovFMean

Fréchet mean of covariance matrices
DenFMean

Fréchet means of densities.
DenFVar

Fréchet Variance for Densities
GloPointPrReg

Global Cox point process regression.
GloDenReg

Global density regression.
NetANOVA

Fréchet ANOVA for Networks
LocPointPrReg

Local Cox point process regression.
LocSpheReg

Local Fréchet Regression for Spherical Data
NetCPD

Fréchet Change Point Detection for Networks
NetFIntegral

Generalized Fréchet integrals of network
LocCovReg

Local Fréchet regression of covariance matrices
ObjCov

Object Covariance
GloCovReg

Global Fréchet regression of covariance matrices
GloSpheReg

Global Fréchet Regression for Spherical Data
frameSphere

Generate a "natural" frame (orthonormal basis)
SpheGeoDist

Geodesic distance on spheres.
NetFVar

Fréchet Variance for Networks
LocCorReg

Local Fréchet regression for correlation matrices
SpheGeoGrad

Compute gradient w.r.t. y of the geodesic distance \(\arccos(x^\top y)\) on a unit hypersphere
frechet

frechet: Statistical Analysis for Random Objects and Non-Euclidean Data
SpheGeoHess

Hessian \(\partial^2/\partial y \partial y^\top\) of the geodesic distance \(\arccos(x^\top y)\) on a unit hypersphere
color.bar

Generate color bar/scale.
logSphere

Compute a log map for a unit hypersphere.
plot.denReg

Plots for Fréchet regression for univariate densities.
dist4cov

Distance between covariance matrices
pol2car

Transform polar to Cartesian coordinates
LocDenReg

Local density regression.
VarObj

Fréchet Variance Trajectory for densities
WassFIntegral

Generalized Fréchet integrals of 1D distribution
dist4den

\(L^2\) Wasserstein distance between two distributions.
expSphere

Compute an exponential map for a unit hypersphere.
CreateDensity

Create density functions from raw data, histogram objects or frequency tables with bins
GloCorReg

Global Fréchet regression for correlation matrices
DenANOVA

Fréchet ANOVA for Densities
CovFIntegral

Generalized Fréchet integrals of covariance matrix
CreateCovRegPlot

Plots for Fréchet regression for covariance matrices.