mapvalues | R Documentation |
Mapvalues (ripped from plyr)
mapvalues(x, from, to, warn_missing = TRUE)
x |
the factor or vector to modify |
from |
a vector of the items to replace |
to |
a vector of replacement values |
warn_missing |
print a message if any of the old values are not present in x |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.