Description Usage Arguments Value Examples
Assign new values to a vector.
1 |
x |
A vector whose values will be recoded, can be character, numeric, or factor. |
old |
A vector of the unique values currently in the vector. |
new |
A vector of values which should replace the current ones. |
must.match |
A logical scalar indicating whether only those elements of
the original vector with values in |
A vector the same length as x
(unless must.match=TRUE
),
with old
values replaced by new
values.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.