Does the cross-validation of a PLS-DA model
plsda.crossval(model, x, c, y, center, scale, method)a PLS-DA model (object of class plsda)
a matrix with x values (predictors from calibration set)
a vetor with c values (classes from calibration set)
a matrix with dummy y-values for PLS regression
logical, do mean centering or not
logical, do standardization or not
method for calculating PLS model.
object of class plsdares with results of cross-validation