Description Usage Arguments Details Value Author(s) See Also
Recode an ordered variable by reversing the codes.
1 |
var |
The variable containing the codes to be reversed. |
Given a variable of integer codes (e.g. measured on a Likert scale), or an ordered factor, this function will recode the variable with the codes reversed, and return the result.
The recoded variable with codes reversed.
Ben Veal
recodeAs, recodeMatches, recodeVar,
colwise2 for recoding multiple dataframe columns simultaneously (in library(plyr)).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.