Skip to content

Instantly share code, notes, and snippets.

Created August 4, 2016 22:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/a575679e0392cc094530665ebe8d2e31 to your computer and use it in GitHub Desktop.
Save anonymous/a575679e0392cc094530665ebe8d2e31 to your computer and use it in GitHub Desktop.
Over or Equal to 500ppl/sq.mi NYS
p11 <- ggplot(data=oe500nys, aes(x=Density.sq.mi, y=Index.Rate)) +
geom_point(aes(colour=County)) +
geom_smooth(method = 'lm', se=FALSE) +
ggtitle('NY counties outside NYC with population density >= 500 ppl/sq.mi') +
xlab('Population Density (ppl/sq.mi)') +
ylab('Index Crime Rate (Incidents per 100,000 ppl)') +
theme_minimal()
p11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment