
Last chance! 50% off unlimited learning
Sale ends in
capitalizes the first letter of character strings using toupper
toupper1(x)
Character vector
character string vector
Basically just a one-liner using toupper
# NOT RUN {
toupper1("berry")
toupper1(c("berRy","likes to code"))
# }
Run the code above in your browser using DataLab