Answered step by step
Verified Expert Solution
Question
1 Approved Answer
5.4 Exercise 5.4 Create an R Markdown document to complete the Task below: Merge the columns for the year 2016 for GDP, Life Expectancy, and
5.4 Exercise 5.4 Create an R Markdown document to complete the Task below: Merge the columns for the year 2016 for GDP, Life Expectancy, and Employment into a new data frame and clean-up the new table. You can find the data here: GDP: http://becomingvisual.com/rfundamentals/gdp.csv Life Expectancy: http://becomingvisual.com/rfundamentals/life_expectancy.csv Employment: http://becomingvisual.com/rfundamentals/employment.csv Task: Rename the appropriate columns to "country", "gdp", "life_expectancy", and "employment". Convert the employment number to percentages by dividing by 100 Then round life expectancy to zero decimals and employment to two decimals Create a frequency table for each variable Draw histograms for each variable
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