Recodes factors with more than maxLevels
to characters.
1 | recodeColumns(df, maxLevels = 20)
|
df |
the data frame to recode. |
maxLevels |
the maximum number of levels a factor can have before being converted to a character. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.