twoClassData | R Documentation |
These data contain two predictors measured for 208 samples. Of these, 111
samples are labeled as Class1
and the remaining 97 are Class2
.
predictors |
data frame of two predictors |
classes |
a factor vector of class labeled |
data(twoClassData)
library(lattice)
xyplot(PredictorB ~ PredictorA,
data = predictors,
groups = classes,
auto.key = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.