Learn R Programming

AppliedPredictiveModeling (version 1.1-7)

twoClassData: Two Class Example Data

Description

These data contain two predictors measured for 208 samples. Of these, 111 samples are labeled as Class1 and the remaining 97 are Class2.

Usage

data(twoClassData)

Arguments

Value

predictors

data frame of two predictors

classes

a factor vector of class labeled

Examples

Run this code
# NOT RUN {
data(twoClassData)

library(lattice)
xyplot(PredictorB ~ PredictorA, 
       data = predictors, 
       groups = classes, 
       auto.key = TRUE)

# }

Run the code above in your browser using DataLab