Tidy gender variable
tidy_sex.Rd
Tidy gender variable
Examples
gender <- c("male", "men", "women", "female", "women", "man", "1", "2")
tidy_sex(gender)
#> [1] 1 1 2 2 2 1 1 2
tidy_sex.Rd
Tidy gender variable
gender <- c("male", "men", "women", "female", "women", "man", "1", "2")
tidy_sex(gender)
#> [1] 1 1 2 2 2 1 1 2