Usage
capwords(s, strict = FALSE, onlyfirst = FALSE)
Arguments
- s
- A character string
- strict
- Should the algorithm be strict about
capitalizing. Defaults to FALSE.
- onlyfirst
- Capitalize only first word, lowercase
all others. Useful for taxonomic names.
Description
Capitalize the first letter of a character string.
Examples
[1] "Using AIC For Model Selection"
[1] "Using Aic For Model Selection"