powered by
Heuristic factorization for a single vector
factorize_nicely_vector(data_vector)
A factor (ordered for numeric inputs with many distinct values).
A vector (numeric, logical, or character).
factorize_nicely_vector(c("a", "b", "a"))
Run the code above in your browser using DataLab