Completion requirements
This section introduces the functionality of the base-R function boxplot. Note that for some data formats, the plot function with x being a factor variable will also work.
Summary
Create basic box plots
boxplot(len ~ dose, data = ToothGrowth, frame = FALSE)
Box plots with the number of observations
gplots::boxplot2(len ~ dose, data = ToothGrowth, frame = FALSE, top = TRUE)