pls.run: Runs selected PLS algorithm
Description
Runs selected PLS algorithm
Usage
pls.run(x, y, ncomp, method, cv)
Arguments
x
a matrix with x values (predictors from calibration set)
y
a matrix with y values (responses from calibration set)
ncomp
how many components to compute
method
algorithm for computing PLS model
cv
logical, is this for CV or not