fpcaBasis | R Documentation |
This function calculates a functional principal component basis
representation for functional data on one-dimensional domains. The FPCA is
calculated via the PACE
function, which is built on
fpca.sc
in the refund package.
fpcaBasis( funDataObject, nbasis = 10, pve = 0.99, npc = NULL, makePD = FALSE, cov.weight.type = "none" )
funDataObject |
An object of class |
nbasis |
An integer, representing the number of B-spline basis
functions used for estimation of the mean function and bivariate smoothing
of the covariance surface. Defaults to |
pve |
A numeric value between 0 and 1, the proportion of variance
explained: used to choose the number of principal components. Defaults to
|
npc |
An integer, giving a prespecified value for the number of
principal components. Defaults to |
makePD |
Logical: should positive definiteness be enforced for the
covariance surface estimate? Defaults to |
cov.weight.type |
The type of weighting used for the smooth covariance
estimate in |
scores |
A matrix of scores (coefficients) with dimension
|
ortho |
Logical, set to |
functions |
A functional data object, representing the functional principal component basis functions. |
meanFunction |
The smoothed mean function. |
univDecomp
, PACE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.