Learn R Programming

enpls (version 6.1)

enspls.fs.core: 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)

Arguments

Value

fitted coefficients