selectCompNum.pca: Select optimal number of components for PCA model
Description
Allows user to select optimal number of components for a PCA model
Usage
# S3 method for pca
selectCompNum(obj, ncomp, ...)
Value
the same model with selected number of components
Arguments
- obj
PCA model (object of class pca
)
- ncomp
number of components to select
- ...
other parameters if any