Question: Please execute below tasks with R Studio and provide your code: 1. create a vector called unemploy rate with 12 values, one for each month

 Please execute below tasks with R Studio and provide your code:

Please execute below tasks with R Studio and provide your code: 1. create a vector called unemploy rate with 12 values, one for each month in 2018. The values for each month are listed below (beginning with January's rate of 7.9). 7.9 7.7 7.5 7.5 7.5 7.5 7.3 7.2 7.2 7.2 7.0 6.7 2. create a vector called month and add 12 values, one for the name of each month in a year. Jan Feb Mar Apr May Jun July Aug Sep Oct Nov Dec 3. convert month to a factor variable 4. create a data frame called monthly rate is comprised of unemploy rate and month. 5. How would you extract the unemployment rate for March? 6. Extract only those months where unemployment was below 7.5%

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 Databases Questions!