powered by
This is called by an R wrapper. There is an na.rm version, too.
na.rm
refactor_worker(x, new_levels, exclude_na)