Question: Import the data oneworld.csv into R. Show the class of all variables. Submit code and output. The objective in this question is explore the relationship

Import the data oneworld.csv into R. Show the class of all variables. Submit code and output. The objective in this question is explore the relationship between the variables GDP vs Infant Mortality by regions.

  1. New ordered categorical variable GDPcat - with three categories such that the proportion of countries in each categories is 40%, 40% and 20%, respectively, in increasing order of magnitude of the variable GDPName the three categories to be "Low" "Medium" and "High". Show your code and the solution.

Hint: Remove any missing observations. There is a function in R that helps find such percentage values for variables.Marks (4)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!