Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Development For Dummies

Authors: Allen G. Taylor

1st Edition

978-0764507526

More Books

Students also viewed these Databases questions

Question

What is topology? Explain with examples

Answered: 1 week ago

Question

14-18 Compare the two major types of planning and control tools.

Answered: 1 week ago