find_label_female | R Documentation |
Given labels for sex or gender, try to infer
which (if any) refer to females.
If no elements look like a label for females,
or if two or more elements do,
then return NULL
.
find_label_female(nms)
nms |
A character vector |
An element of nms
or NULL
.
find_label_male()
, find_var_sexgender()
find_label_female(c("Female", "Male")) ## one valid
find_label_female(c("0-4", "5-9")) ## none valid
find_label_female(c("F", "Fem")) ## two valid
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.