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)
Value
the error vector between predicted y and real y