powered by
Apply a mapping to a vector directly. The mapping is temporary and not saved.
remap(x, ...)
The values to apply the mapping to.
mapping
Passed to mapping().
mapping()
The values returned by calling the mapping function.
# NOT RUN { x <- c("A", "B", "A") remap(x, c(A=0, B=1)) # }
Run the code above in your browser using DataLab