recoder {ETLUtils} | R Documentation |
Recodes the values of a character vector
recoder(x, from = c(), to = c())
x |
character vector |
from |
character vector with old values |
to |
character vector with new values |
x where from values are recoded to the supplied to values
recoder(x=append(LETTERS, NA, 5), from = c("A","B"), to = c("a.123","b.123"))