Map a vector of values based on an assignment table
util_recode(values, mapping_table, from, to, default = NULL)
the mapped values
vector the vector
data.frame a table with the mapping table
character the name of the column with the "old values"
character the name of the column with the "new values"
character either one character or on character per value,
being used, if an entry from values
is not
in the from
column in `mapping_table
Other mapping:
util_map_all()
,
util_map_by_largest_prefix()
,
util_map_labels()