PLSDA {structToolbox}R Documentation

PLSDA model class

Description

Partial least squares (PLS) discriminant analysis (DA) model class. This object can be used to train/apply PLS models.

Usage

PLSDA(number_components = 2, factor_name, ...)

Arguments

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

Value

struct object

Examples

M = PLSDA('number_components'=2,factor_name='Species')

[Package structToolbox version 1.0.1 Index]