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