Description Usage Arguments Examples
Rescale level of agreement from the four levels
"Totally agree"
, "Tend to agree"
, "Tend to disagree"
,
"Totally disagree"
.
This is a wrapper function around the rescale_categories
function.
1 2 3 | rescale_agreement_4(column, from = c("Totally agree", "Tend to agree",
"Tend to disagree", "Totally disagree"), to = c(2, 1, -1, -2),
na_labels = c("DK"), exact_from = TRUE, return_class = "numeric")
|
column |
A column from a survey data with a four-level agreement scale. |
from |
Defaults to |
to |
Defaults to |
na_labels |
Defaults to |
exact_from |
Deafults to |
return_class |
Default is |
1 2 3 | rescale_agreement_4 (c("Totally agree", "Tend to agree",
"Tend to disagree", "Totally disagree", "Missing"),
na_labels = "Missing")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.