https://github.com/cran/SoDA
Raw File
Tip revision: abb11e53fd1d4cd6d80e90fa5a000adda65fe209 authored by jmc on 14 July 2008, 00:00:00 UTC
version 1.0-3
Tip revision: abb11e5
irisBwplot.R
if(!exists("Sepal.length")) {
  data(iris)
  attach(iris)
  }

require(lattice)
trellis.device("pdf", color=FALSE, file = "Examples/irisBwplot.pdf", width = 5,
               height = 4)

u = cut(Petal.Length, breaks = 3)
bwplot( ~ Sepal.Length | u * Species)
dev.off()
back to top