On January 21th at 14:15 UTC , progression through exercises will be unavailable for 10 minutes due to a planned maintenance break.
Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Factors and how to create them
Working with factors
Modifying factor variables
21. Exercise 2


What are the most popular car brands?


Count the number of car brands in our data. Display only the four most popular car brands. Collapse all other brands to one category: Other.

Stuck? Here's a hint!


fct_count(fct_lump(cars$brand, n = 4))