upcase | R Documentation |
Capitalize words in a vector of characters
upcase(s, method = c("sentence", "word", "strict"))
s |
vector of characters |
method |
either sentence (first letter in each element of the vector), word (first letter in each word of the sentence) or strict ( first letter in each word of the sentence) |
upcase(c("using AIC", "for model selection"))
upcase(c("using AIC", "for model selection"), method = 'word')
upcase(c("using AIC", "for model selection"), method = 'strict')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.