Description Usage Arguments Value Examples
View source: R/value_replacer.r
Replace arbitrary values in your data
1 | value_replacer_fn(x, values_map)
|
x |
an atomic vector. The column to transform. |
values_map |
a list. If named, the names get replaced w/ the values. Otherwise, the list elements are lists of 2 elements, the first of which are the values to be replaced and the second the replacement value. |
the replaced column
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.