Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please complete the following steps in one document/report by leveraging your knowledge in R: 1.Instal the gapminder package (ensure tidyverse and ggplot2 are also installed)

Please complete the following steps in one document/report by leveraging your knowledge in R:

1.Instal the gapminder package (ensure tidyverse and ggplot2 are also installed)

2.Inspect the gapminder data by looking at the first and last 5 rows of the data (show your results)

3.Create a scatterplot using the "GDP per Capita" and "Life Expectancy" columns.

4.To uncompress the x-axis, change its scale to a logarithmic scale by adding + scale_x_log10() to the object

5.Identify each continent by adding a colour attribute,

6.Use boxplots to visualize the distribution of life expectancy in each continent

7.Create a histogram that compares the life expectancy of each continent by using different colours

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Principles Of Database Systems With Internet And Java Applications

Authors: Greg Riccardi

1st Edition

020161247X, 978-0201612479

More Books

Students also viewed these Databases questions

Question

=+4 Develop and deliver the CCT program.

Answered: 1 week ago

Question

=+5 Evaluate whether the CCT program was effective.

Answered: 1 week ago

Question

=+Identify the type of global assignment for which CCT is needed.

Answered: 1 week ago