enspls.fs.core: core function for enspls.fs

View source: R/enspls.fs.R

enspls.fs.coreR Documentation

core function for enspls.fs

Description

select the best ncomp and alpha with cross-validation, then use it to fit the complete training set. scale = FALSE

Usage

enspls.fs.core(xtmp, ytmp, maxcomp, cvfolds, alpha)

Value

fitted coefficients


enpls documentation built on Aug. 8, 2025, 6:47 p.m.