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

Description Usage Arguments

View source: R/recodeColumns.r

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.


sqlutils documentation built on May 19, 2017, 7:46 a.m.

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