fact2char | 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
char2fact()
Other factors:
as_ordered()
,
char2fact()
,
drop_levels()
,
fact()
,
fact_na()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.