Question: Need R code and Explanation. In this quesiton we will make use of two datasets. The gapminder data contains an excerpt of country - level
Need R code and Explanation.
In this quesiton we will make use of two datasets. The gapminder data contains an excerpt of countrylevel data on the qualityoflife measures. The indicator hiv estimated prevalence.csv data contain a measures of the prevalence of HIV in each country by year. After loadingimporting each dataset, answer the following question.
a What is the relationship between HIV prevalence and life expectancy? Generate a scatterplot with a smoothing line to report your results. You will need to perform a join operation think carefully about which type makes the most sense and explain why Hint: You may need to create a new variable to have a unique key to join your tables by
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
