yh_lda: LDA predictions

Description Usage Arguments Value Author(s) Examples

Description

Given training data and test examples, the LDA predictions for the test data are produced.

Usage

1
yh_lda(dfTr, dfTe)

Arguments

dfTr

dataframe with last column for the output. The output must be a factor.

dfTe

dataframe for test data. Must have columns corresponding to the training columns except the test output is not needed.

Value

tba. Not fully implemented yet.

Author(s)

A. I. McLeod

Examples

1
2
3
library("MASS")
data(SinghTest) #is 0
yh_lda(SinghTrain[,c(1:10, 101)], SinghTest[,c(1:10, 101)])

gencve documentation built on May 2, 2019, 6:08 a.m.