Learn R Programming

metaX (version 1.4.0)

plsDAPara-class: An S4 class to represent the parameters for PLS-DA analysis

Description

An S4 class to represent the parameters for PLS-DA analysis

Arguments

para
A metaXpara object
value
New value

Value

A object of plsDAPara

Slots

scale
The method used to scale the data, see preProcess in metaX
center
A logical which indicates if the matrix should be mean centred or not
t
The method used to transform the data, see transformation in metaX
validation
The method for validation, default is "CV"
ncomp
The number of components used for PLS-DA, default is 2
nperm
The number of permutations, default is 200
kfold
The number of folds for cross-validation, default is 7
do
A logical which indicates whether to do the plsDA analysis, default is TRUE
method
The method used in PLS-DA. See plsr in pls
cpu
The number of cpus used, default is all cpus.