Question: Please answer the following questions. Include any R-script that you may have used to justify your answers, and discuss your methodology on how you found
Please answer the following questions. Include any R-script that you may have used to justify your answers, and discuss your methodology on how you found your information.
Using R Programming Language Import the 01-01-2021.csv csv file
Use the functions from the dplyr package to filter out the observations of states names that start with 'M'. Determine the mean number of 'Recovered' patients from this subset.
From the same subset of states that start with 'M', create a new variable named Ratio, which is the value of Active cases divided by Confirmed cases. Determine the maximum value of Ratio in this subset.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
