packrat/lib/x86_64-pc-linux-gnu/3.2.3/evaluate/tests/testthat/plot-par2.r

barplot(table(mtcars$mpg), main = "All")
# should capture all plots in this loop
for (numcyl in levels(as.factor(mtcars$cyl))) {
  barplot(table(mtcars$mpg[mtcars$cyl == numcyl]), main = paste("cyl = ", numcyl))
}
etsakl/DasyMapR documentation built on May 16, 2019, 9:07 a.m.