setDA: Set chosen Discriminant Analysis

View source: R/utilities.R

setDAR Documentation

Set chosen Discriminant Analysis

Description

The default methods is LDA, but QDA and column of maximum prediction can be chosen.

Usage

setDA(LQ = NULL)

Arguments

LQ

character argument 'lda', 'qda', 'max' or NULL

Value

Returns the default set method.

See Also

VIP (SR/sMC/LW/RC), filterPLSR, shaving, stpls, truncation, bve_pls, ga_pls, ipw_pls, mcuve_pls, rep_pls, spa_pls, lda_from_pls, lda_from_pls_cv, setDA.

Examples

## Not run: 
setDA() # Query 'lda', 'qda' or 'max'
setDA('qda') # Set default method to QDA

## End(Not run)

khliland/plsVarSel documentation built on Feb. 5, 2023, 3:15 a.m.