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

plsDAPara-classR Documentation

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 oplsDAPara 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.

Author(s)

Bo Wen wenbostar@gmail.com


wenbostar/metaX documentation built on July 4, 2023, 7:50 p.m.