enspls.od.core: core function for enspls.od

View source: R/enspls.od.R

enspls.od.coreR Documentation

core function for enspls.od

Description

select the best ncomp and alpha with cross-validation, then use them to fit the complete training set, and predict on the test set. scale = TRUE

Usage

enspls.od.core(x.sample, y.sample, x.remain, y.remain, maxcomp, cvfolds, alpha)

Value

the error vector between predicted y and real y


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