Description Usage Arguments Examples
Rescaling the Eurobarometer subjective urbanization variable.
1 2 | rescale_subjective_urbanization(column, from = NULL, to = NULL,
exact_from = TRUE, na_labels = c("default"), return_class = "factor")
|
column |
A column from a survey data with the subjective urbanization answers. |
from |
Defaults to |
to |
Defaults to |
exact_from |
Deafults to |
na_labels |
Defaults to |
return_class |
Default is |
1 2 3 4 5 6 7 8 9 10 11 12 13 | rescale_subjective_urbanization (c("Rural area or village",
"Large town/city",
"Small or medium-sized town",
"DK"),
return_class = "numeric")
## Default return changes if the returned value is coded as numeric.
rescale_subjective_urbanization (c("Rural area or village",
"Large town/city",
"Small or medium-sized town",
"DK"),
return_class = "numeric")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.