# NOT RUN {
boxplot(salary ~ year, data = Governor)
# }
# NOT RUN {
library(ggplot2)
ggplot2::ggplot(data = Governor, aes(x = salary)) +
geom_density(fill = "pink") +
facet_grid(year ~ .) +
theme_bw()
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab