remap | R Documentation |
Apply a mapping to a vector directly. The mapping is temporary and not saved.
remap(x, ...)
x |
The values to apply the |
... |
Passed to |
The values returned by calling the mapping
function.
x <- c("A", "B", "A")
remap(x, c(A=0, B=1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.