Question: Complete using R and show code: Please show all code and output, but no warnings or messages. Submit the assignment as a PDF file into
Complete using R and show code:

Please show all code and output, but no warnings or messages. Submit the assignment as a PDF file into your Google Drive folder 1. (15 points) Using the USArrests and USAccDeaths datasets loaded from rstudio, find the total number of murders and accidental deaths in the US in 1973 and specify which is higher. Because the accidental deaths are a rate per 100,000 people, assume that each state has a population of 100,000 people when caclulating accidental deaths. Make sure to include ALL the code you used to arrive at your answer 2. (5 points) How many of the murders in 1973 were from states in which over 50% of the population was living in an urban area? Assume that each state has a population of 100,000 people Extra Credit a) (2 points) Look back at Question 1. The reason we assumed each state has 100,000 people is to make life easier for us. Of course, in real life, each state population varies. Describe how you would answer Question 1 if you wanted to be accurate and address each state's actual population. You do not need to actually code anything; simply go into detail about your "game plan" b) (2 points) This page gives you populations of each state in 1970. Assume that each state has the population listed in the linked page, and re-do Question 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
