Created
June 17, 2017 14:03
-
-
Save StaffanBetner/e0c2f585e2595605a29046b203080ab3 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
joined_dataset %>% filter(vald == 1) %>% | |
ggplot(aes( | |
x = F1, | |
y = F2, | |
name = Namn, | |
color = Parti, | |
group = Parti | |
)) + | |
geom_point() + | |
scale_colour_manual(values = partycols, labels=c("Centre Party", | |
"Liberals", | |
"Christian Democrats", | |
"Green Party", | |
"Moderate Party", | |
"Swedish Social Democratic Party", | |
"Sweden Democrats","Left Party")) + | |
labs(x = "Left vs. Right", y = "Traditional-Authoritarian-Nationalist vs. Green-Alternative-Libertarian", color = | |
"Party") + | |
scale_y_continuous(breaks = NULL) + | |
scale_x_continuous(breaks = NULL) + | |
coord_fixed(ratio = 3 / 4) + | |
ggtitle("Members of parliament in Sweden") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment