predict.simca {mdatools}R Documentation

SIMCA predictions

Description

Applies SIMCA model to a new data set

Usage

## S3 method for class 'simca'
predict(object, x, c.ref = NULL, cal = FALSE, ...)

Arguments

object

a SIMCA model (object of class simca)

x

a matrix with x values (predictors)

c.ref

a vector with reference class names (same as class names for models)

cal

logical, are predictions for calibration set or not

...

other arguments

Details

See examples in help for simca function.

Value

SIMCA results (an object of class simcares)


[Package mdatools version 0.14.1 Index]