Description Usage Arguments Examples
Create a uniform variable from three categories of the Eurobarometer
subjective living condition trend variable with categories such as
"Most of the time"
, "From time to time"
and
"Almost never/never".
This is a wrapper function around the
rescale_categories
function.
1 2 3 | rescale_difficulty(column, from = c("Most of the time", "From time to time",
"Almost never/never"), to = c(2, 1, 0), na_labels = c("NA", "DK"),
exact_from = TRUE, return_class = "numeric")
|
column |
A column from a survey data frame where gender is recorded. |
from |
Defaults to |
to |
Defaults to |
na_labels |
Defaults to |
exact_from |
Deafults to |
return_class |
Default is |
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.