predict.pls | R Documentation |
Applies PLS model to a new data set
## S3 method for class 'pls'
predict(object, x, y = NULL, cv = FALSE, ...)
object |
a PLS model (object of class |
x |
a matrix with x values (predictors) |
y |
a matrix with reference y values (responses) |
cv |
logical, shall predictions be made for cross-validation procedure or not |
... |
other arguments |
See examples in help for pls
function.
PLS results (an object of class plsres
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.