PLSDA {structToolbox} | R Documentation |
Partial least squares (PLS) discriminant analysis (DA) model class. This object can be used to train/apply PLS models.
PLSDA(number_components = 2, factor_name, ...)
number_components |
The number of PLS components to calculate. |
factor_name |
The sample-meta column name to use. |
... |
additional slots and values passed to struct_class |
struct object
M = PLSDA('number_components'=2,factor_name='Species')