Learn R Programming

PACE package for Functional Data Analysis and Empirical Dynamics

Installation of the current development version

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

devtools::install_github("functionaldata/tPACE")

Installation of the latest CRAN release

You can install the package in R using:

install.packages("fdapace")

Load Package and Data

Once installed you can load the package with:

library(fdapace)

Copy Link

Version

Install

install.packages('fdapace')

Monthly Downloads

2,321

Version

0.6.0

License

BSD_3_clause + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

July 3rd, 2024

Functions in fdapace (0.6.0)

FCCor

Calculation of functional correlation between two simultaneously observed processes.
CreatePathPlot

Create the fitted sample path plot based on the results from FPCA().
FLM

Functional Linear Models
FOptDes

Optimal Designs for Functional and Longitudinal Data for Trajectory Recovery or Scalar Response Prediction
FPCquantile

Conditional Quantile estimation with functional covariates
FSVD

Functional Singular Value Decomposition
FVPA

Functional Variance Process Analysis for dense functional data
FPCAder

Obtain the derivatives of eigenfunctions/ eigenfunctions of derivatives (note: these two are not the same)
FPCA

Functional Principal Component Analysis
GetCrCorYX

Create cross-correlation matrix from auto- and cross-covariance matrix
GetCovSurface

Covariance Surface
FLMCI

Confidence Intervals for Functional Linear Models.
GetCrCorYZ

Create cross-correlation matrix from auto- and cross-covariance matrix
GetMeanCI

Bootstrap pointwise confidence intervals for the mean function for densely observed data.
GetMeanCurve

Mean Curve
GetCrCovYZ

Functional Cross Covariance between longitudinal variable Y and scalar variable Z
Lwls2D

Two dimensional local linear kernel smoother.
GetNormalisedSample

Normalise sparse multivariate functional data
Lwls1D

One dimensional local linear kernel smoother
GetCrCovYX

Functional Cross Covariance between longitudinal variable Y and longitudinal variable X
Lwls2DDeriv

Two dimensional local linear kernel smoother to target derivatives.
MakeBWtoZscore02y

Z-score body-weight for age 0 to 24 months based on WHO standards
MakeSparseGP

Create a sparse Functional Data sample for a Gaussian Process
SelectK

Selects number of functional principal components for given FPCA output and selection criteria
SBFitting

Iterative Smooth Backfitting Algorithm
NormCurvToArea

Normalize a curve to a particular area, by multiplication with a factor
MakeFPCAInputs

Format FPCA input
MakeHCtoZscore02y

Z-score head-circumference for age 0 to 24 months based on WHO standards
MakeGPFunctionalData

Create a Dense Functional Data sample for a Gaussian process
MakeLNtoZscore02y

Z-score height for age 0 to 24 months based on WHO standards
SetOptions

Set the PCA option list
MultiFAM

Functional Additive Models with Multiple Predictor Processes
cumtrapzRcpp

Cumulative Trapezoid Rule Numerical Integration
VCAM

Sieve estimation: B-spline based estimation procedure for time-varying additive models. The VCAM function can be used to perform function-to-scalar regression.
Wiener

Simulate a standard Wiener processes (Brownian motions)
fitted.FPCAder

Fitted functional data for derivatives from the FPCAder object
TVAM

Iterative Smooth Backfitting Algorithm
Stringing

Stringing for High-Dimensional data
fdapace

fdapace: Functional Data Analysis and Empirical Dynamics
Sparsify

Sparsify densely observed functional data
fitted.FPCA

Fitted functional data from FPCA object
WFDA

Time-Warping in Functional Data Analysis: Pairwise curve synchronization for functional data
CreateDiagnosticsPlot

Functional Principal Component Analysis Diagnostics plot
print.WFDA

Print a WFDA object
kCFC

Functional clustering and identifying substructures of longitudinal data using kCFC.
trapzRcpp

Trapezoid Rule Numerical Integration
print.FPCA

Print an FPCA object
medfly25

Number of eggs laid daily from medflies
str.FPCA

Compactly display the structure of an FPCA object
predict.FPCA

Predict FPC scores and curves for a new sample given an FPCA object
print.FSVD

Print an FSVD object
BwNN

Minimum bandwidth based on kNN criterion.
CreateBasis

Create an orthogonal basis of K functions in [0, 1], with nGrid points.
ConvertSupport

Convert support of a mu/phi/cov etc. to and from obsGrid and workGrid
CreateBWPlot

Functional Principal Component Analysis Bandwidth Diagnostics plot
CreateDesignPlot

Create design plots for functional data. See Yao, F., Müller, H.G., Wang, J.L. (2005). Functional data analysis for sparse longitudinal data. J. American Statistical Association 100, 577-590 for interpretation and usage of these plots. This function will open a new device as default.
CheckOptions

Check option format
CreateModeOfVarPlot

Functional Principal Component Analysis: Mode of variation plot
CreateCovPlot

Creates a correlation surface plot based on the results from FPCA() or FPCder().
CheckData

Check data format
CreateFuncBoxPlot

Create functional boxplot using 'bagplot', 'KDE' or 'pointwise' methodology
CreateScreePlot

Create the scree plot for the fitted eigenvalues
CreateStringingPlot

Create plots for observed and stringed high dimensional data
FCReg

Functional Concurrent Regression using 2D smoothing
FClust

Functional clustering and identifying substructures of longitudinal data
Dyn_test

Bootstrap test of Dynamic Correlation
FAM

Functional Additive Models
DynCorr

Dynamical Correlation
CreateOutliersPlot

Functional Principal Component or Functional Singular Value Decomposition Scores Plot using 'bagplot' or 'KDE' methodology