reverse | R Documentation |
reverse() it reverse a score in a linear way, using the minimum and maximum values. Is often use onto likert type response variables, when the original responses are not coded with values that follow the direction of higher values are higher level of the attribute.
reverse(var)
x |
a numeric vector |
a reverse coded numeric vector
items_data <- items_data %>%
mutate(item = reverse(original))
dplyr::count(items_data, original, item)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.