Description Usage Arguments Details Value Examples
Check whether all values have labels
1 | all_labelled(x, na.rm = TRUE)
|
x |
labelled vector |
na.rm |
a logical value indicating whether NA values should be stripped. TRUE by default |
Check whether all values of a labelled variable have labels.
TRUE/FALSE
1 2 | x <- haven::labelled(c(1, 1, 2, 3, 4), c(Male = 1, Male = 2, Female = 3))
all_labelled(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.