powered by
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
female
male
a factor with levels not promoted and promoted
not promoted
promoted
library(ggplot2) table(gender_discrimination) ggplot(gender_discrimination, aes(y = gender, fill = decision)) + geom_bar(position = "fill")
Run the code above in your browser using DataLab