powered by
Convert factor columns to characters in a data.frame
data.frame
fact2char(data, threshold = 10)
The data.frame
data with factors converted by the rule above
data
A data.frame
A threshold for the number of levels to be met/exceeded for transforming into a character
char2fact()
Other factors: as_ordered(), char2fact(), drop_levels(), fact(), fact_na()
as_ordered()
drop_levels()
fact()
fact_na()