FitLDA {CPEg}R Documentation

LDA

Description

LDA

Usage

FitLDA(X, y, Xt, yt)

Arguments

X design matrix, training sample
y binary response vector of 1 and -1
Xt design matrix, test sample
yt binary response vector of 1 and -1

Details

Value

list with two components: misclassification rates and confusion matricies for both the training and test samples.

Author(s)

AIM

Examples

data(Gaussian)
attach(Gaussian)
FitLDA(X, y, Xt, yt)

[Package CPEg version 1.1 Index]