This inserts explicit missing values in a factor based on a condition. Additionally,
existing NA
values will be explicitly converted to given na_level
.
See also
forcats::fct_na_value_to_level()
which is used internally.
This inserts explicit missing values in a factor based on a condition. Additionally,
existing NA
values will be explicitly converted to given na_level
.
forcats::fct_na_value_to_level()
which is used internally.