Question: Load ggplot2 and gapminder library. Call ggplot and set the data to gapminder. Assign this line to an object named p. Run print(p). What happens?
- Load ggplot2 and gapminder library.
- Call ggplot and set the data to gapminder. Assign this line to an object named p.
- Run print(p). What happens?
- Change your code in part c to include a mapping of gdpPercap column (of gapminder) to the x variable and lifeExp to the y variable. Use print again. What happens now?
- In R programming
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
