reverse | R Documentation |
Reverse the response of a score, inverting the minimum with the maximum.
reverse(x, x.min = min(x), x.max = max(x))
x |
Numerical vector of scores. |
x.min |
Theoretical minimum of |
x.max |
Theoretical maximum of |
The function allows to reverse the responses to an item.
x <- 1:4
reverse(x)
reverse(x,1,5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.