Rdocumentation
powered by
Learn R Programming
mdatools (version 0.7.0)
predict.plsda: PLS-DA predictions
Description
Applies PLS-DA model to a new data set
Usage
"predict"(object, x, c = NULL, cv = F, ...)
Arguments
object
a PLS-DA model (object of class
plsda
)
x
a matrix with x values (predictors)
c
a vector with reference class values
cv
logical, are predictions for cross-validation or not
...
other arguments
Value
PLS-DA results (an object of class
plsdares
)
Details
See examples in help for
plsda
function.