my_plsDA

0th

Percentile

PLS Discriminant Analysis

Perform a PLS discriminant analysis

Keywords
internal
Usage
my_plsDA(X, y, learn, test, autosel, comps, cv = "LOO", k = NA, retain.models = FALSE)
Arguments
X
matrix or data.frame with explanatory variables
y
vector or factor with group membership
learn
vector of learning observations
test
vector of testing observations
autosel
logical indicating automatic selection of PLS comps
comps
number of PLS components (only when autosel=FALSE)
cv
cross validation method. Options are "LOO" (Leave-One-Out) and "LKO" (Leave-K fold-Out)
k
fold left out if using LKO
retain.models
whether to retain lower models (i.e. all lower component results)
Aliases
  • my_plsDA
Documentation reproduced from package DiscriMiner, version 0.1-29, License: GPL-3

Community examples

Looks like there are no examples yet.