recodeColumns: Recodes factors with more than 'maxLevels' to characters.

Description Usage Arguments

Description

Recodes factors with more than maxLevels to characters.

Usage

1
recodeColumns(df, maxLevels = 20)

Arguments

df

the data frame to recode.

maxLevels

the maximum number of levels a factor can have before being converted to a character.



Search within the sqlutils package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.