We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Firefox.

Exercise: Use filter() with multiple rules

The gapminder dataset contains economic and demographic data about various countries since 1952. Filter the tibble and inspect which countries had a life expectancy over 80 years in the year 2007! The required packages are already loaded.

  1. Use the filter() function on the gapminder tibble.
  2. Filter all rows where the year variable is equal to 2007 and the life expectancy lifeExp is greater than 80!
Results

Submit code to see output here.