.fix_sex | R Documentation |
Encode sex as integer
.fix_sex(x)
x |
vector of sex labels, encoded in any sensible way |
Think of the result as the count of X chromosomes.
integer vector of sex codes: 0=uknown, 1=male, 2=female
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.