Skip to content

Instantly share code, notes, and snippets.

Created August 4, 2016 22:07
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/00997c79e15bcad7963305b1799403b9 to your computer and use it in GitHub Desktop.
Save anonymous/00997c79e15bcad7963305b1799403b9 to your computer and use it in GitHub Desktop.
Over or Equal to 500ppm/sq.mi NYC
p11 <- ggplot(data=oe500nyc, aes(x=Density.sq.mi, y=Index.Rate)) +
geom_point(aes(colour=County)) +
geom_smooth(method = 'lm', se=FALSE) +
ggtitle('NYC counties') +
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