gender_discrimination | R Documentation |
Study from the 1970s about whether gender influences hiring recommendations.
gender_discrimination
A data frame with 48 observations on the following 2 variables.
a factor with levels female
and male
a factor with levels not promoted
and promoted
Rosen B and Jerdee T. 1974. Influence of sex role stereotypes on personnel decisions. Journal of Applied Psychology 59(1):9-14.
library(ggplot2)
table(gender_discrimination)
ggplot(gender_discrimination, aes(y = gender, fill = decision)) +
geom_bar(position = "fill")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.