Awesome coding Liza, everything ran without any issues! I enjoyed seeing your thought process through the first question, I agree that plotting the average life expectancy best represents the trend. You get a similar trend when you divy it up by continent:
gapminder %>%
group_by(continent, year) %>%
summarize(average_lifeExp = mean(lifeExp)) %>%
ggplot(aes(x= year, y =average_lifeExp, color = continent)) +
geom_point()
Awesome coding Liza, everything ran without any issues! I enjoyed seeing your thought process through the first question, I agree that plotting the average life expectancy best represents the trend. You get a similar trend when you divy it up by continent: gapminder %>% group_by(continent, year) %>% summarize(average_lifeExp = mean(lifeExp)) %>% ggplot(aes(x= year, y =average_lifeExp, color = continent)) + geom_point()