Arguments
model
a PLS-DA model (object of class plsda
)
x
a matrix with x values (predictors from calibration set)
c
a vetor with c values (classes from calibration set)
cv
number of segments (if cv = 1, full cross-validation will be used)
center
logical, do mean centering or not
scale
logical, do standardization or not
jack.knife
logical, do jack-knifing or not