selectCompNum: Select optimal number of components for a model

View source: R/defaults.R

selectCompNumR Documentation

Select optimal number of components for a model

Description

Generic function for selecting number of components for multivariate models (e.g. PCA, PLS, ...)

Usage

selectCompNum(obj, ncomp = NULL, ...)

Arguments

obj

a model object

ncomp

number of components to select

...

other arguments


mdatools documentation built on Aug. 13, 2023, 1:06 a.m.