powered by
Converts characters to factors
char2fact(x, n = 5)# S3 method for default char2fact(x, n = 5)# S3 method for character char2fact(x, n = 5)# S3 method for factor char2fact(x, n = 5)# S3 method for data.frame char2fact(x, n = 5)
# S3 method for default char2fact(x, n = 5)
# S3 method for character char2fact(x, n = 5)
# S3 method for factor char2fact(x, n = 5)
# S3 method for data.frame char2fact(x, n = 5)
A vector of characters
The limit to the number of unique values for the factor
fact2char()
Other factors: as_ordered(), drop_levels(), fact(), fact2char(), fact_na()
as_ordered()
drop_levels()
fact()
fact_na()