June 26, 2018
Crime is something that many governments wish to curtail. As such, it is important to understand the relationships between difference variables to see how they might co-occur.
The Shiny app allows the user to select 2 variables. Behind the scenes, the server runs a linear regression model on the 2 variables. The plot will display the fitted line with the raw data.
Please see this link for the App: https://assignments.shinyapps.io/Week4/
The US Arrests dataset comes in built to R. It is captured at a state level and and contains the following variables:
Beginning with exploratory analysis on the US Arrests dataset