Question: 1. For this assignment, subset the states data for the states of TX, CA, FL, and NY. Further subset the data for year=2022. Create X-Y

1. For this assignment, subset the states data for the states of TX, CA, FL, and NY. Further subset the data for year=2022. Create X-Y line plots for the question below. The plots printed by me as I answered each of the questions are shown as guidance on what to exepct.

2. A plot between Dates and 7-Days Moving Avg of cases for State=TX. Print a simply X-Y plot with no additional settings.

3. A plot between Dates and 7-Days Moving Avg of cases for State=CA. Add a title of the plot and also add axes labels. Set the line color to Red.

4. A plot between Dates and 7-Days Moving Avg of cases for State=NY. The plot should not show the line but individual points. Set the line color to Blue. Add Plot title and axes labels.r

5. A plot between Dates and 7-Days Moving Avg of cases for State=FL. Set the line color to violet. Add Plot title and axes labels. Add a smoothened line to show more stable patterns.

Please help with code doing it in RStudio

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!