predict.simcam: SIMCA multiple classes predictions

Description Usage Arguments Details Value

View source: R/simcam.R

Description

Applies SIMCAM model (SIMCA for multiple classes) to a new data set

Usage

1
2
## S3 method for class 'simcam'
predict(object, x, c.ref = NULL, ...)

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)

...

other arguments

Details

See examples in help for simcam function.

Value

SIMCAM results (an object of class simcamres)


mdatools documentation built on Sept. 13, 2021, 9:07 a.m.