Advanced Group By Exercises
Let us suppose we want to find the most visited destination for each carrier. Spend a couple of minutes to think about how you would go about solving this exercise using dplyr.
Hint: Think about the five data manipulation verbs, and the additional group_by() function.
This exercise is part of the course
test subex r
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
hflights %>%