find_var_sexgender | R Documentation |
Find the element of nms
that looks like
a sex or gender variable.
If no elements look like a sex or gender variable,
or if two or more elements do,
then return NULL
.
find_var_sexgender(nms)
nms |
A character vector |
An element of nms
, or NULL
.
find_var_age()
, find_var_time()
, find_label_female()
,
find_label_male()
find_var_sexgender(c("Sex", "Year", "AgeGroup", NA)) ## one valid
find_var_sexgender(c("Age", "Region")) ## none valid
find_var_sexgender(c("sexgender", "sexes")) ## two valid
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.