I imported a .txt file using read_fwf and it seems like col_factor does not support labels as its arguments. I was wondering if there are ways on how you can add labels to specific values in a tibble.
col_types = cols("Income Category" = col_factor(levels = c("01", "02", "03), labels = c("low", "medium", "high"))
I'm fairly new to R so I would be grateful if anyone can answer my question!