Chapter 6 Describing categorical variables
Categorical variables require a different approach. Rather than summary statistics, the relevant information here is the frequency with which each value or category appears in the data. Here we cover how to analyze data for a single categorical variable (e.g. frequency tables and bar charts) and how to evaluate relationships between nominal variables (cross-tabulation).
Note that you will need the film data (biopics.xls) and the tidyverse package to replicate the examples in this chapter. See Section 4.1 for a reminder on how to import the data and Section 2.4 for installing and loading packages.