powered by
Capitalize the first letter of a character string.
spocc_capwords(s, strict = FALSE, onlyfirst = FALSE)
A character string
Should the algorithm be strict about capitalizing. Default: FALSE
FALSE
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) # }
Run the code above in your browser using DataLab