Question: Part 2 : Write an R Script: a ) create a vector called unemploy _ rate with 1 2 values, one for each month in
Part : Write an R Script:
a create a vector called unemployrate with values, one for each month in The values for each month are listed below beginning with Januarys rate of
a create a vector called month and add values, one for the name of each month in a year.
Jan Feb Mar Apr May Jun July Aug Sep Oct Nov Dec
b convert month to a factor variable
c create a data frame called monthlyrate comprised of unemployrate and month.
d How would you extract the unemployment rate for March?
e Extract only those months where unemployment was below
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
