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