LDA: Linear Discriminant Analysis

Description Usage Arguments Value

Description

this function fit the LDA model

Usage

1
LDA(X, y, method = c("MLE", "diagonal", "ridge"), lam = NULL)

Arguments

X

n x p matrix where the ith row is the values of the predictor for the ith case

y

n entry response vector where the ith entry is the response category in 1, ..., C for the ith case

method

estimation method

lam

optional tuning parameter specification

Value

returns a list with the parameter estimates


MGallow/statr documentation built on May 7, 2019, 2:04 p.m.