CharacterReCode.Rd
CharacterReCode
CharacterReCode(x, oldLevels, newLevels)
(character) vector
oldLevels
newLevels
character vector
CharacterReCode(rep(1:4,2),c("2","3"),c("B","C")) #> [1] "1" "B" "C" "4" "1" "B" "C" "4"