powered by
Recodes the values of a character vector
recoder(x, from = c(), to = c())
x where from values are recoded to the supplied to values
character vector
character vector with old values
character vector with new values
match
recoder(x=append(LETTERS, NA, 5), from = c("A","B"), to = c("a.123","b.123"))
Run the code above in your browser using DataLab