sex_discrimination | R Documentation |
Study from the 1970s about whether sex influences hiring recommendations.
sex_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(sex_discrimination)
ggplot(sex_discrimination, aes(y = sex, fill = decision)) +
geom_bar(position = "fill")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.