Learn R Programming

moderndive (version 0.4.0)

promotions_shuffled: One permutation/shuffle of promotions

Description

Shuffled/permuted data from a 1970's study on whether gender influences hiring recommendations.

Usage

promotions_shuffled

Arguments

Format

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

id

Identification variable used to distinguish rows.

gender

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

decision

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

See Also

promotions.

Examples

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

Run the code above in your browser using DataLab