Learn R Programming

⚠️There's a newer version (0.6.0) of this package.Take me there.

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

6,722

Version

0.5.9

License

BSD_3_clause + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Yidong Zhou

Last Published

August 16th, 2022

Functions in fdapace (0.5.9)

CheckData

Check data format
CreateModeOfVarPlot

Functional Principal Component Analysis: Mode of variation plot
BwNN

Minimum bandwidth based on kNN criterion.
CreateBasis

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

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

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

Functional Additive Models
FClust

Functional clustering and identifying substructures of longitudinal data
FCReg

Functional Concurrent Regression using 2D smoothing
DynCorr

Dynamical Correlation
CreateScreePlot

Create the scree plot for the fitted eigenvalues
FCCor

Calculation of functional correlation between two simultaneously observed processes.
Dyn_test

Bootstrap test of Dynamic Correlation
CreateStringingPlot

Create plots for observed and stringed high dimensional data
FPCAder

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

Functional Linear Models
GetCovSurface

Covariance Surface
GetCrCovYZ

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

Two dimensional local linear kernel smoother to target derivatives.
Lwls1D

One dimensional local linear kernel smoother
GetCrCorYZ

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

Functional Linear Models New
FPCquantile

Conditional Quantile estimation with functional covariates
GetMeanCI

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

Functional Singular Value Decomposition
GetCrCorYX

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

Functional Variance Process Analysis for dense functional data
MakeLNtoZscore02y

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

Normalise sparse multivariate functional data
GetMeanCurve

Mean Curve
MakeHCtoZscore02y

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

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

Create a Dense Functional Data sample for a Gaussian process
MakeFPCAInputs

Format FPCA input
NormCurvToArea

Normalise a curve to a particular area, by multiplication with a factor
SBFitting

Iterative Smooth Backfitting Algorithm
FPCA

Functional Principal Component Analysis
FOptDes

Optimal Designs for Functional and Longitudinal Data for Trajectory Recovery or Scalar Response Prediction
fitted.FPCA

Fitted functional data from FPCA object
TVAM

Iterative Smooth Backfitting Algorithm
fitted.FPCAder

Fitted functional data for derivatives from the FPCAder object
MakeBWtoZscore02y

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

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

Functional Principal Component Analysis Diagnostics plot
SetOptions

Set the PCA option list
predict.FPCA

Predict FPC scores and curves for a new sample given an FPCA object
Sparsify

Sparsify densely observed functional data
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.
Lwls2D

Two dimensional local linear kernel smoother.
MultiFAM

Functional Additive Models with Multiple Predictor Processes
MakeSparseGP

Create a sparse Functional Data sample for a Gaussian Process
Stringing

Stringing for High-Dimensional data
medfly25

Number of eggs laid daily from medflies
print.WFDA

Print a WFDA object
str.FPCA

Compactly display the structure of an FPCA object
fdapace

fdapace: Principal Analysis by Conditional Expectation and Applications in Functional Data Analysis (revised version 16 August 2019)
kCFC

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

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

Simulate a standard Wiener processes (Brownian motions)
trapzRcpp

Trapezoid Rule Numerical Integration
cumtrapzRcpp

Cumulative Trapezoid Rule Numerical Integration
print.FPCA

Print an FPCA object
print.FSVD

Print an FSVD object
CreateBWPlot

Functional Principal Component Analysis Bandwidth Diagnostics plot
ConvertSupport

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

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

Creates a correlation surface plot based on the results from FPCA() or FPCder().
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