pls.run: Runs selected PLS algorithm

Description Usage Arguments

View source: R/pls.R

Description

Runs selected PLS algorithm

Usage

1
pls.run(x, y, ncomp = min(nrow(x) - 1, ncol(x)), method = "simpls", cv = FALSE)

Arguments

x

a matrix with x values (predictors from calibration set)

y

a matrix with y values (responses from calibration set)

ncomp

how many components to compute

method

algorithm for computing PLS model

cv

logical, is this for CV or not


mdatools documentation built on Sept. 13, 2021, 9:07 a.m.