Learn R Programming

mdatools (version 0.14.2)

crossval.simca: Cross-validation of a SIMCA model

Description

Does the cross-validation of a SIMCA model

Usage

crossval.simca(obj, x, cv)

Value

object of class simcares with results of cross-validation

Arguments

obj

a SIMCA model (object of class simca)

x

a matrix with x values (predictors from calibration set)

cv

number of segments (if cv = 1, full cross-validation will be used)