Description Usage Arguments Value Examples
gender function for matching A thin wrapper around generic, which converts some known male and female codes to binary
1 2 | genderDists(dat1, dat2 = NULL, m = c("m", "male", "mal", "1"), f = c("f",
"female", "fem", "2"))
|
dat1 |
a vector of genders to match |
dat2 |
a vector of genders to match |
m |
format of males |
f |
format of females |
a pairwise matrix of scores from 0 (exact match) to 1 (no match)
1 2 | test <- data.frame(c("male", "f", "m"), stringsAsFactors = FALSE)
genderDists(test)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.