Basis constructor for FPC terms
# S3 method for fpc.smooth.spec smooth.construct(object, data, knots)
fpc.smooth.spec object, usually generated by a
s(x, bs="fpc"); see Details.
a list containing the data (including any
required by this term, with names corresponding to
object$by). Only the first element of this list is used.
not used, but required by the generic
An object of class
"fpc.smooth". In addtional to the elements
smooth.construct, the object will contain
the smooth that is fit in order to generate the basis matrix
the matrix of principal components
object must contain an
xt element. This is a list that can
contain the following elements:
(required) matrix of functional predictors
(required) the method of finding principal components;
(optional) the number of PC's to retain
(only needed if
npc not supplied) the percent variance
explained used to determine
FALSE, the smoothing parameter is
set to 0
the basis class used to pre-smooth
X; default is
Any additional options for the pre-smoothing basis (e.g.
etc.) can be supplied in the corresponding elements of
s for a full list of options.
Reiss, P. T., and Ogden, R. T. (2007). Functional principal component regression and functional partial least squares. Journal of the American Statistical Association, 102, 984-996.