reverse reverse codes a numeric vector based on minimum and maximum
values. For example, say numerical values of response options can range from
1 to 4. The function will change 1 to 4, 2 to 3, 3 to 2, and 4 to 1. If there
are an odd number of response options, the middle in the sequence will be
reverse(x, mini, maxi)
numeric vector of length 1 specifying the minimum numeric value.
numeric vector of length 1 specifying the maximum numeric value.
numeric vector that correlates exactly -1 with
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.