Description Usage Arguments Details Value Author(s) Examples
Replace the values in a vector with a new value
1 |
x |
The vector that has values that need replacing |
old.value |
The value that needs replacing |
new.value |
The value that will replace old.value |
factor |
Should the vector be "refactored" (so old values no longer show up as a factor level)? |
This function searches the vector provided for old.values, then replaces each occurance with new.values
A new vector where old.values are replaced by new.values
Dustin Fife
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.