Learn R Programming

enpls (version 6.1)

enpls.od.core: core function for enpls.od

Description

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

Usage

enpls.od.core(plsdf.sample, plsdf.remain, maxcomp, cvfolds)

Arguments

Value

the error vector between predicted y and real y