Skip to content

Instantly share code, notes, and snippets.

@rudeboybert
Created September 27, 2017 14:18
Show Gist options
  • Save rudeboybert/56135899aedfe9609cb2933fb4b353f8 to your computer and use it in GitHub Desktop.
Save rudeboybert/56135899aedfe9609cb2933fb4b353f8 to your computer and use it in GitHub Desktop.
Studying disagreement in Bechdel test evaluations
library(fivethirtyeight)
library(tidyverse)
# I still can't use forcats package from scratch
levels <- c("nowomen-disagree", "notalk-disagree", "men-disagree",
"dubious-disagree", "ok-disagree")
bechdel %>%
filter(str_detect(test, "disagree")) %>%
select(test, binary) %>%
mutate(test = factor(test, levels = levels)) %>%
ggplot(aes(x=test, fill=binary)) +
geom_bar() +
labs(x="Detailed Bechdel Test Result",
fill="Bechdel Test\nFinal Binary",
y="Count",
title = "Does Bechdel test ambiguity get rounded up or down?")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment