Lesson 17: Visualizing Data III - Boxplots and Barplots
Lesson 17: Visualizing Data III - Boxplots and BarplotsOverview
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).
Objectives
- Create boxplots and barplots with multiple panels
- Add mean and errorbars for SE to boxplots as an alternative to barplots
- Add errorbars to barplots
R
The R code file and data files for this lesson can be found on the Essential R - Notes on learning R page.
17.1 - Basic Boxplots
17.1 - Basic BoxplotsHere we'll consider the basic boxplot.
17.2 - Adding Polish to a Boxplot
17.2 - Adding Polish to a BoxplotNow we'll look at how we can polish up a boxplot to something that is publication ready.
17.3 - Adding Mean and SE to Boxplots
17.3 - Adding Mean and SE to BoxplotsHere we'll consider adding group means and SE errorbars to boxplots as a superior (and recommended) alternative to barplots.
17.4 - Multipanel Boxplot Example
17.4 - Multipanel Boxplot ExampleNow we'll put it all together to create a multipanel boxplot.
17.5 - Adding Errorbars to Barplots
17.5 - Adding Errorbars to BarplotsIn this video we'll use arrows()
to add errorbars to a barplot, and learn the trick to getting the errorbars to plot on the bars.
17.6 - Creating a Polished Barplot
17.6 - Creating a Polished BarplotHere we'll put together the pieces to create a publicaiton-quality barplot.
17.7 - Creating a Multipanel Barplot
17.7 - Creating a Multipanel BarplotFinally we'll wind up this chapter by creating a multipanle barplot.