Description Usage Arguments Examples
Rescale the standard Eurobarometer candidate membership
benefit variable(s) with
categories "Would benefit", "Would not benefit".
The generic question is "Taking everything into account,
would you say that (OUR COUNTRY) would benefit or not from
being a member of the EU?"
This is a wrapper function around the rescale_categories
function.
1 2 3 | rescale_benefit_2(column, from = c("Would benefit", "Would not benefit"),
to = c(1, 0), na_labels = "default", exact_from = TRUE,
return_class = "numeric", underscore = TRUE)
|
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 |
underscore |
Defaults to |
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.