Factorize one or more variables in a data frame
A convenience function to transform on or more variables of a data frame into factors.
one or more data frame columns to be transformed into factor.
The vectors supplied are transformed into factors. Notice that if a variable is already a factor, it is updated and all unused levels are dropped.
1 2 3 4 5 6 7 8
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.