Description Usage Arguments Examples
: A function that turns code based variable names to human friendly names, useful in particular for converting variable names with underscores to more easily interpretable words as axis labels in plots and in spreadsheets.
1 | code_to_human(string, capitalization_length = 1)
|
string |
The string variable you would like to transform. (character) |
capitalization_length |
The length at or below which, substrings should be turned into all CAPS (integer) |
1 2 | code_to_human("age_years") # "Age Years"
code_to_human("icu_patient_count", 3) # "ICU Patient Count"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.