Learn R Programming

tall (version 0.5.1)

txt_recode_cpp: Internal C++ text recoding function

Description

Internal C++ implementation of text recoding using hash tables. Users should call txt_recode_fast instead.

Value

Character vector with recoded values

Arguments

x

Character vector to recode

from

Character vector of values to match

to

Character vector of replacement values

na_rm

Logical, whether to set unmatched values to NA