Does the cross-validation of a PLS model
pls.crossval(model, x, y, cv, center, scale, method, jack.knife = T)
a PLS model (object of class pls
)
a matrix with x values (predictors from calibration set)
a matrix with y values (responses from calibration set)
number of segments (if cv = 1, full cross-validation will be used)
logical, do mean centering or not
logical, do standardization or not
algorithm for computing PLS model
logical, do jack-knifing or not
object of class plsres
with results of cross-validation