Capitalize
Arguments
- object
Object.
- strict
logical(1)
. Enforce strict renaming of words containing multiple capital letters, including acronyms.- ...
Additional arguments.
Examples
x <- c("the quick Brown fox", "using AIC for model selection")
capitalize(x, strict = FALSE)
#> [1] "The Quick Brown Fox" "Using AIC For Model Selection"
capitalize(x, strict = TRUE)
#> [1] "The Quick Brown Fox" "Using Aic For Model Selection"