pls.run | R Documentation |
Runs selected PLS algorithm
pls.run(x, y, ncomp = min(nrow(x) - 1, ncol(x)), method = "simpls", cv = FALSE)
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.