spocc_capwords | R Documentation |
Capitalize the first letter of a character string.
spocc_capwords(s, strict = FALSE, onlyfirst = FALSE)
s |
A character string |
strict |
Should the algorithm be strict about capitalizing.
Default: |
onlyfirst |
Capitalize only first word, lowercase all others. Useful for taxonomic names. |
## Not run:
spocc_capwords(c('using AIC for model selection'))
spocc_capwords(c('using AIC for model selection'), strict=TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.