pls.run: Runs selected PLS algorithm
Description
Runs selected PLS algorithm
Usage
pls.run(x, y, ncomp = min(nrow(x) - 1, ncol(x)), method = "simpls", cv = FALSE)
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