Capitalize

# S4 method for character
capitalize(object)

Arguments

object

Object.

Examples

capitalize(c("hello", "world"))
#> [1] "Hello" "World"