data_rev | R Documentation |
Reverse item values
data_rev(data, cols)
data |
A data frame containing the items to be reversed. |
cols |
A tidy selection of columns to reverse. For example, if you want to calculate an index of the two items "I feel bad about this" and "I like it", both coded with 1=not at all to 5=fully agree, you need to reverse one of them to make the codings compatible. |
A data frame with the specified items reversed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.