Applies SIMCAM model (SIMCA for multiple classes) to a new data set
# S3 method for simcam
predict(object, x, c.ref = NULL, cv = F, ...)
a SIMCAM model (object of class simcam
)
a matrix with x values (predictors)
a vector with reference class names (same as class names in models)
logical, are predictions for cross-validation or not
other arguments
SIMCAM results (an object of class simcamres
)
See examples in help for simcam
function.