Skip to content

Instantly share code, notes, and snippets.

Created August 4, 2016 22:04
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/79a15b75d51c9206fffa2fc31aad4ce5 to your computer and use it in GitHub Desktop.
Save anonymous/79a15b75d51c9206fffa2fc31aad4ce5 to your computer and use it in GitHub Desktop.
Under 500ppl/sq.mi NYC
p11 <- ggplot(data=u500nys, aes(x=Density.sq.mi, y=Index.Rate)) +
geom_point() +
geom_smooth(method = 'lm') +
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