Created
August 4, 2016 21:56
-
-
Save anonymous/773677047272343d8e2de7ba539e9b7a to your computer and use it in GitHub Desktop.
Mean population density
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stden <- crime_nys %>% | |
select(Year, Density.sq.mi) %>% | |
group_by(Year) %>% | |
summarise(Density.sq.mi=mean(Density.sq.mi)) | |
p9 <- ggplot(stden, aes(x=Year, y=Density.sq.mi)) + | |
geom_line() + | |
ggtitle('Population Density in New York State (minus NYC)') + | |
xlab('Year') + | |
ylab('Population Density (ppl/sq.mi)') + | |
theme_minimal() | |
p9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment