selectCompNum function

Select optimal number of components for a model

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, ...)

Arguments

  • obj: a model object
  • ncomp: number of components to select
  • ...: other arguments
  • Maintainer: Sergey Kucheryavskiy
  • License: MIT + file LICENSE
  • Last published: 2024-08-19