Description Usage Arguments Examples
Function to convert survey data where 2 is no and 1 is yes.
1 |
df |
to mutate. |
varName |
variable to convert 1's and 2's to 1's and 0's |
newVar |
variable name of new variable |
trueVal |
value(s) to be coded as 1 |
falseVal |
value(s) to be coded as 0 |
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.