Answered step by step
Verified Expert Solution
Question
1 Approved Answer
3. Problem 3 (60 marks) Let's go back to the gapminder dataset partially explored in the Module 2a notes. a. (15 marks) Using R, and
3. Problem 3 (60 marks) Let's go back to the gapminder dataset partially explored in the Module 2a notes. a. (15 marks) Using R, and the R function ggplot, produce one scatterplot with gapPerCap on the x-axis and lifeErp on the y-axis for the 1962 data, and a second scatterplot for the 1992 data. Compare and contrast what you see in these two plots. NOTE: Unlike what you see in the Module 2a code, you should add your own centered title to each of these plots. The way to do this is to add the following to the ggplot call used to create scatterplots in the Example in Section 2.2 of the Module 2a notes: + ggtitle("Enter your title here") + theme (plot. title = element_text (hjust = 0.5))
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started