Learn R Programming

plsVarSel (version 0.9.12)

setDA: Set chosen Discriminant Analysis

Description

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

Usage

setDA(LQ = NULL)

Value

Returns the default set method.

Arguments

LQ

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

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

Run this code
if (FALSE) {
setDA() # Query 'lda', 'qda' or 'max'
setDA('qda') # Set default method to QDA
}

Run the code above in your browser using DataLab