labelify | R Documentation |
Format text for label printing
labelify(
x,
underscoresToSpaces = TRUE,
dotsToSpaces = TRUE,
toLower = FALSE,
toTitleCase = TRUE,
capitalize.strings = c("id"),
stringsToSpaces = c("\\$", "`")
)
x |
Character: Input |
underscoresToSpaces |
Logical: If TRUE, convert underscores to spaces. |
dotsToSpaces |
Logical: If TRUE, convert dots to spaces. |
toLower |
Logical: If TRUE, convert to lowercase (precedes |
toTitleCase |
Logical: If TRUE, convert to Title Case. Default = TRUE (This does not change
all-caps words, set |
capitalize.strings |
Character, vector: Always capitalize these strings, if present. Default = |
stringsToSpaces |
Character, vector: Replace these strings with spaces. Escape as needed for |
E.D. Gennatas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.