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 Sept. 11, 2024, 7:59 p.m.