I am trying to automatically change the labels of a factor column using tidyverse code, and I have having trouble changing the labels based on a simple function.
Some