Question: Using the gapminder data, use the nest function to fit a separate regression model for every country in the Americas, predicting population size as a
Using the gapminder data, use the nest function to fit a separate regression model for every country in the Americas, predicting population size as a function of year. Use geom_pointrange() to display the slopes for each of these models, with error bars based on two standard errors. Based on this graph, what can you say about how the population growth rates compare for countries in the Americas?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
