View source: R/gfpca_twoStep.R
determine_npc | R Documentation |
This internal function is called in gfpca_twoStep
, fpca_gauss
and bfpca
to determine the number of functional principal components
based on their share of explained variance.
determine_npc(evalues, npc_criterion)
evalues |
Vector of estimated variances of the FPC scores. |
npc_criterion |
Either (i) a share between 0 and 1, or (ii) a vector with
two elements for the targeted explained share of variance and a cut-off scree
plot criterion, both between 0 and 1. For the latter, e.g.,
|
Integer for the number of fucntional principal components
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.