| twoClassData {AppliedPredictiveModeling} | R Documentation |
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)
Value
predictors |
data frame of two predictors |
classes |
a factor vector of class labeled |
Examples
data(twoClassData)
library(lattice)
xyplot(PredictorB ~ PredictorA,
data = predictors,
groups = classes,
auto.key = TRUE)
[Package AppliedPredictiveModeling version 1.1-7 Index]