freezeFactorLevels | R Documentation |
Reorders factor levels in a data frame, and - optionally - converts character columns to factors.
freezeFactorLevels(df, characterToFactor = FALSE)
df |
A data frame. |
characterToFactor |
If TRUE, converts strings to factors. |
A data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.