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, 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

Details

See examples in help for simcam function.

Value

SIMCAM results (an object of class simcamres)


mdatools documentation built on May 30, 2017, 7:37 a.m.

Search within the mdatools package
Search all R packages, documentation and source code