Calibrates (builds) a PLS model for given data and parameters
pls.cal(x, y, ncomp, center, scale, method = "simpls", cv = FALSE)
model an object with calibrated PLS model
a matrix with x values (predictors)
a matrix with y values (responses)
number of components to calculate
logical, do mean centering or not
logical, do standardization or not
algorithm for computing PLS model (only 'simpls' is supported so far)
logical, is model calibrated during cross-validation or not (or cv settings for calibration)