pls.cal: PLS model calibration

View source: R/pls.R

pls.calR Documentation

PLS model calibration

Description

Calibrates (builds) a PLS model for given data and parameters

Usage

pls.cal(x, y, ncomp, center, scale, method = "simpls", cv = FALSE)

Arguments

x

a matrix with x values (predictors)

y

a matrix with y values (responses)

ncomp

number of components to calculate

center

logical, do mean centering or not

scale

logical, do standardization or not

method

algorithm for computing PLS model (only 'simpls' is supported so far)

cv

logical, is model calibrated during cross-validation or not (or cv settings for calibration)

Value

model an object with calibrated PLS model


mdatools documentation built on Sept. 11, 2024, 7:59 p.m.