eje1dis: Basic example for discriminant analysis

Description Usage Format Source Examples

Description

This data frame contains information about 32 students. The first two columns contain their grades obtained on the first two exams and the last column of the dataset contains the classes: P=Pass, and F=Fail

Usage

1

Format

A data frame with 32 observations on the following 3 variables.

E1

Grade on the first exam

E2

Grade on the second exam

Class

The class vector:P=Pass, F=Fail

Source

Data obtained from Edgar Acuna:

Examples

1
2
3
#---- Performing 10-fold cross validation using the LDA classifier-----
data(eje1dis)
crossval(eje1dis,10,"lda",repet=5)

dprep documentation built on May 29, 2017, 11:01 a.m.