reconsCurves: Reconstruct data curves using functional principal components

View source: R/reconsCurves.R

reconsCurvesR Documentation

Reconstruct data curves using functional principal components

Description

Reconstructs data curves as objects of class fd using functional principal components

Usage

  reconsCurves(data, PC)

Arguments

data

a set of values of curves at discrete sampling points or argument values. If the set is supplied as a matrix object, the rows must correspond to argument values and columns to replications, and it will be assumed that there is only one variable per observation. If data is a three-dimensional array, the first dimension corresponds to argument values, the second to replications, and the third to variables within replications.

PC

an object of class pca.fd.

Value

an object of class fd.

References

Ramsay, James O., Hooker, Giles, and Graves, Spencer (2009), Functional data analysis with R and Matlab, Springer, New York.

Ramsay, James O., and Silverman, Bernard W. (2005), Functional Data Analysis, 2nd ed., Springer, New York.

Ramsay, James O., and Silverman, Bernard W. (2002), Applied Functional Data Analysis, Springer, New York.


fda documentation built on May 29, 2024, 11:26 a.m.