determine_npc {registr} | R Documentation |
Determine the number of FPCs based on the share of explained variance
Description
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.
Usage
determine_npc(evalues, npc_criterion)
Arguments
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.,
|
Value
Integer for the number of fucntional principal components
[Package registr version 2.1.0 Index]