dot-pls: Partial least squares discriminant analysis

.plsR Documentation

Partial least squares discriminant analysis

Description

Perform a PLS discriminant analysis

Usage

.pls(X, Y, nc, cv = TRUE, nr_folds = 5)

Arguments

X

a matrix of predictor variables.

Y

a single vector indicate the group

nc

the number of pls components .

cv

logical indicating whether cross-validation will be performed or not (suggest TRUE).

nr_folds

nr_folds Integer to indicate the folds for cross validation. @return list with PLS results


o2plsda documentation built on Sept. 11, 2024, 8:28 p.m.