Capitalizes the characters Making the first letter uppercase
Arguments
- x
A vector of character strings to be capitalized.
- force_tolower
Whether to force the remaining letters to be lowercase.
Examples
x <- c("dna methylation", "rRNA processing", "post-Transcriptional gene silencing")
capitalize(x)
#> [1] "Dna methylation" "rRNA processing" "Post-Transcriptional gene silencing"