pls.run {mdatools} | R Documentation |
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 |
[Package mdatools version 0.14.1 Index]