Question: This is a R Markdown question. Refer to the dataset gapminder from package gapminder. The variable LifeExp in this dataset refers to the median life
This is a R Markdown question. Refer to the dataset "gapminder" from package "gapminder". The variable "LifeExp" in this dataset refers to the median life expectancy of people in a country in a given year.
(a) Summarize and plot the median life expectancy (MLE) in 1952 for each of the 5 countries with the top MLE's and for each of the 5 countries with the bottom MLE's. You should have one summary table and one plot.Hint: Use the data in 1952 to find the top 5 countries and bottom 5 countries in MLE. Then, plot the MLE for each of the 10 countries. You should have 10 bars in one graph.
In the above question, I am confused about "You should have 10 bars in one graph. " Can you please help me with the above question. thank You so much.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
