selectCompNum.pca {mdatools} | R Documentation |
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 class 'pca'
selectCompNum(obj, ncomp, ...)
Arguments
obj |
PCA model (object of class |
ncomp |
number of components to select |
... |
other parameters if any |
Value
the same model with selected number of components
[Package mdatools version 0.14.1 Index]