Exercise: Use arrange() based on a single column
The gapminder_2007
dataset contains economic and demographic data about various countries for the year 2007. Arrange the tibble and inspect which country had the lowest life expectancy lifeExp
in 2007! The dplyr package is already loaded.
- Apply the
arrange()
function on thegapminder_2007
tibble - Order the tibble based on the
lifeExp
column
Results
Submit code to see output here.