• Home
  • Blog
  • Ameritech College of Healthcare Data Manipulation and Visualization Presentation

Ameritech College of Healthcare Data Manipulation and Visualization Presentation

0 comments

For this Hands-On, you will compare five countries of your choice. You can see the countries in the gapminder data frame with the below command:

levels(gapminder$country)

This Hands-On will be graded, so be sure you complete all requirements. Please complete this Hands-On in a R script file, and submit it along with your presentation file below when completed.

Requirements

Choose five countries from the resulting list after running the above command. Then use them to answer each of these questions:

  • Which country of the five you chose has the lowest per capita GDP in 1952? In 2007?
  • Which has the highest per capita GDP in 1952? In 2007?
  • Create a line plot with year on the horizontal axis and lifeExp on the vertical axis for the five countries; give each country a different color line. Describe the variations in life expectancy between the countries.
  • Compute the median of lifeExp as a function of year for all the countries in the gapminder data frame. For what years is the life expectancy of each of the countries you selected above the median life expectancy for all countries?

Tip!

You will need to load the library dplyr, ggplot, and gapminder to complete this hands on!

Create a presentation (MS Power Point or equivalent) to report out on your findings. Be sure to include any R code you used to get your findings and create your graphs. Add any additional insight you believe is warranted.

About the Author

Follow me


{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}