Description Usage Arguments Examples
Converts logical answers from text documents.
1 2 | chr_logical(column, false_id = "default", true_id = "default",
na_labels = "default", na_value = NA)
|
column |
A column from a survey data frame where gender is recorded. |
false_id |
The false values in the original raw data. defaults to |
true_id |
The true values in the original raw data, defaults to |
na_labels |
Is there a special character ID for missing variables? (Default: |
na_value |
What should be the value of missing answers (Default: |
1 2 3 4 5 | chr_logical(column = as.character (c("1 - yes", "1", "0 - no",
"missing", NA)),
false_id = "0 - no",
true_id = "1 - yes",
na_labels = "missing" )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.