Learn R Programming

moderndive (version 0.4.0)

promotions: Bank manager recommendations based on (binary) gender

Description

Data from a 1970's study on whether gender influences hiring recommendations. Originally used in OpenIntro.org.

Usage

promotions

Arguments

Format

A data frame with 48 observations on the following 3 variables.

id

Identification variable used to distinguish rows.

gender

(binary) gender: a factor with two levels `male` and `female`

decision

a factor with two levels: `promoted` and `not`

See Also

The data in `gender_promotions` is a tidyverse-friendly transformation of gender.discrimination.

Examples

Run this code
# NOT RUN {
library(dplyr)
glimpse(promotions)
# }

Run the code above in your browser using DataLab