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.


fda documentation built on May 31, 2023, 9:19 p.m.