Q.1 Using a dataset us_contagious_diseases compare the rate of Florida, New York and Illinois using a time series plot where rate = count / population * 10000 * 52 / weeks_reporting. Comment on the plot. (Submit the word file including comments, screenshot of code as well as graph) Write the code using R language. Q.2 Make a boxplot of the murder rates defined as follows by region, showing all the points and ordering the regions by their median rate. (Submit the screenshot of code as well as graph) data("murders") murders %>% mutate (rate = total/population*100000) Write the code using R language. Q.3 a) Using the dataset us_contagious_diseases , draw a time series plot for “smallpox” disease and do not include the years in which the cases were not reported in 10 or more weeks. (Submit the screenshot of code as well as graph) Write the code using R language. b) For the state of California, make a time series plot showing rates for all diseases and comment. Include only years with 10 or more weeks reporting. Use a different color for each disease.(use suitable formula for calculating rate) Write the code using R language
Q.1 Using a dataset us_contagious_diseases compare the rate of Florida, New York and Illinois using a time series plot where rate = count / population * 10000 * 52 / weeks_reporting. Comment on the plot. (Submit the word file including comments, screenshot of code as well as graph) Write the code using R language.
Q.2 Make a boxplot of the murder rates defined as follows by region, showing all the points and ordering the regions by their median rate. (Submit the screenshot of code as well as graph) data("murders") murders %>% mutate (rate = total/population*100000) Write the code using R language.
Q.3 a) Using the dataset us_contagious_diseases , draw a time series plot for “smallpox” disease and do not include the years in which the cases were not reported in 10 or more weeks. (Submit the screenshot of code as well as graph) Write the code using R language.
b) For the state of California, make a time series plot showing rates for all diseases and comment. Include only years with 10 or more weeks reporting. Use a different color for each disease.(use suitable formula for calculating rate) Write the code using R language
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)