upFirst | R Documentation |
Changes the first letter of each word in a string to upper case, keeping selected words in lower case. Words containing at least 2 capital letters are kept as-is.
upFirst(txt, lower = FALSE, alllower = FALSE)
txt |
a character vector |
lower |
set to |
alllower |
set to |
https://en.wikipedia.org/wiki/Letter_case#Headings_and_publication_titles
upFirst(c('this and that','that is Beyond question'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.