Converts a standard better / same / worse scale to numeric 1, 0, -1.
1 | labelled_to_numeric(labelled_var, labels, numeric_values)
|
labelled_var |
column from a survey data frame where gender is recorded. |
labels |
The value labels |
numeric_values |
The numeric values |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.