Description Usage Arguments Details
Find and replace values by pairs. Includes an optional default for all 'left-over' values.
1 |
x |
A vector |
search |
Values to be replaced |
replace |
Values to do the replacing |
default |
Default value for entries unspecified in |
Credit for this function goes to flodel: http://stackoverflow.com/questions/14105651/generate-column-values-with-multiple-conditions-in-r
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.