predict.simca: SIMCA predictions

View source: R/simca.R

predict.simcaR 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)


mdatools documentation built on Aug. 13, 2023, 1:06 a.m.