Question: Using R studio # Use grouping to calculate the mean life expectancy for each continent and year. # Call the mean life expectancy variable mean_le.

Using R studio

# Use grouping to calculate the mean life expectancy for each continent and year. # Call the mean life expectancy variable mean_le. # Plot the life expectancy over time (no need to change the plot code). gapminder %>% ------------%>% # replace the dashed lines with correct -------------%>% #replace the dashed lines with correct ggplot(aes(x = year, y = mean_le, col = continent)) + geom_line() + scale_color_manual(values = continent_colors)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!