Lesson 17: Visualizing Data III - Boxplots and Barplots

Overview Section

So far in our exploration of data visualization we've focused on scatterplots. We'll now expand to consider visualizing categorical variables using boxplots (which are preferred) and barplots (which may be a bit more traditional).


Upon completion of this lesson, you should be able to:

  • Create boxplots and barplots with multiple panels
  • Add mean and errorbars for SE to boxplots as an alternative to barplots
  • Add errorbars to barplots

The R code file and data files for this lesson can be found on the Essential R - Notes on learning R page.