Description Usage Arguments Value Author(s) See Also
Change Factor Levels Using List Lookups
1 |
x |
A |
new_values |
A list |
throw_error |
If there are values in |
factor
Brendan Rocks rocks.brendan@gmail.com
refactor_list
for generating code to feed to
new_values
in scripts. Other functions which aim to make factor
munging less painful are the recode
function in the car
package, and mapvalues
in plyr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.