inst/examples/R/data/graphics/boxplot/example_boxplot.R

library("MASS") # for Boston Housing data
boxplot(medv~rad, data=Boston)
#
library("lattice")
bwplot(~medv|rad, data=Boston)
#
library("ggplot2")
ggplot(Boston, aes(x=factor(rad), y=medv)) + geom_boxplot() 
sigbertklinke/shinyExample documentation built on May 26, 2019, 4:32 a.m.