FUNCTION_DESCRIPTION

map_to_value(x, map_assignment, other)

Arguments

x

PARAM_DESCRIPTION

map_assignment

Named vector that is the inverse of what is expected in the forcats fct_recode arguments. Map assignments to NA_character_ should use NA = {value}.

other

The value to map all other values not in the map_assignment.

Value

OUTPUT_DESCRIPTION

Details

DETAILS