Session Ready
Exercise

Boxplots

Now we are going to make boxplots. Boxplots are useful when we want a summary of several variables or several strata of the same variables. Making too many histograms can become too cumbersome.

Instructions
100 XP

In one line of code:

  • Stratify the state populations by region.
  • Generate boxplots for the strata.

Note that you can achieve this using this population~region inside boxplot to generate the strata and specify the dataset with the data argument.