recodeColumns: Recodes factors with more than maxLevels to characters.

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.


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

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