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