change_case | R Documentation |
Randomly switch between title case and lowercase for character strings
change_case(data, cols = NULL, messiness = 0.1, case_type = "word")
data |
input dataframe |
cols |
set of columns to apply transformation to. If |
messiness |
Percentage of values to change. Must be between 0 and 1. Default 0.1. |
case_type |
Whether the case should change based on
the |
a dataframe the same size as the input data.
change_case(mtcars)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.