invert | R Documentation |
This function allows to easily invert items with any number of answer options.
invert(x, length = 5)
x |
The variable that should be inverted (needs to be numeric!). |
length |
Number of answer options (defaults to ) |
A vector representing the recoded variable.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.