enpls.ad.core.fit: core fitting function for enpls.ad
Description
select the best ncomp with cross-validation and
use it to fit the complete training set. scale = TRUE
Usage
enpls.ad.core.fit(trainingset, maxcomp, cvfolds)
Value
the fitted plsr object