simca.crossval: Cross-validation of a SIMCA model

Description Usage Arguments Value

View source: R/simca.R

Description

Does the cross-validation of a SIMCA model

Usage

1
simca.crossval(model, x, cv, center = T, scale = F)

Arguments

model

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)

center

logical, do mean centering or not

scale

logical, do standardization or not

Value

object of class simcares with results of cross-validation


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