CommencerCommencer gratuitement

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.

Cet exercice fait partie du cours

Categorical Data in the Tidyverse

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Make a bar plot of the frequency of FormalEducation
ggplot(___, ___()) + 
    ___
Modifier et exécuter le code