Select optimal number of components for a model
Generic function for selecting number of components for multivariate models (e.g. PCA, PLS, ...)
selectCompNum(obj, ncomp = NULL, ...)
obj
: a model objectncomp
: number of components to select...
: other arguments