Description Usage Arguments Value Author(s) Examples
Function to format text for pretty display
1 | formatText(x, cap = NULL, capitalize = "first", sep_words = "_")
|
x |
string or vector of strings. |
cap |
integer. max number of characters. Default = 20 |
capitalize |
character. one of 'all','none','first' (default) |
sep_words |
character. separate words. Default = '_' (use NULL not to separate) |
string or vector of strings.
Henrique Cabral
1 | formatText('hello', capitalize = 'none')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.