Rdocumentation
powered by
Learn R Programming
mdatools (version 0.7.0)
selectCompNum.pca: Select optimal number of components for PCA model
Description
Allows user to select optimal number of components for PCA model
Usage
"selectCompNum"(model, ncomp)
Arguments
model
PCA model (object of class
pca
)
ncomp
number of components to select
Value
the same model with selected number of components