pls.run: Runs selected PLS algorithm

View source: R/pls.R

pls.runR Documentation

Runs selected PLS algorithm

Description

Runs selected PLS algorithm

Usage

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


svkucheryavski/mdatools documentation built on Aug. 25, 2023, 12:27 p.m.