Learn R Programming

enpls (version 6.1)

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

Arguments

Value

the error vector between predicted y and real y