Reconstructs data curves as objects of class fd using functional principal components
reconsCurves(data, PC)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.
an object of class pca.fd.
an object of class fd.