
Extract optimal number of components from cross-validation results for sO2PLS
Source:R/so2pls.R
so2pls_get_optim_ncomp.RdExtracts the optimal number of components (joint and dataset-specific) estimated via cross-validation results for sO2PLS.
Arguments
- cv_res
A
cvo2mobject, output from thecrossval_o2mfunction.