Created
July 3, 2017 22:20
-
-
Save robwschlegel/90baacbfefce1f36bb3402f8b7dfb162 to your computer and use it in GitHub Desktop.
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
# Returns | |
return_bar <- ggplot(data = removals, aes(x = Year, y = Returns)) + | |
geom_col(aes(fill = Party), colour = "black") + | |
# geom_smooth(method = "lm", colour = "black") + | |
labs(x = NULL, y = "Immigrants Returned") + | |
scale_fill_manual(values = c("slateblue1", "firebrick1")) + | |
ggtitle("Returns") | |
# Removals | |
removal_bar <- ggplot(data = removals, aes(x = Year, y = Removals)) + | |
geom_col(aes(fill = Party), colour = "black") + | |
# geom_smooth(method = "lm", colour = "black") + | |
labs(x = NULL, y = "Immigrants Removed") + | |
scale_fill_manual(values = c("slateblue1", "firebrick1")) + | |
ggtitle("Removals") | |
# Stick'em | |
grid.arrange(return_bar, removal_bar) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment