Renaming a few levels
Let's take the FormalEducation
variable from the last exercise. Two of the responses were really long; let's shorten them up to make our graphs look better! The dataset multiple_choice_responses
has been loaded for you.
This exercise is part of the course
Categorical Data in the Tidyverse
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Make a bar plot of the frequency of FormalEducation
ggplot(___, ___()) +
___