Capitalize

capitalize(object, ...)

# S4 method for character
capitalize(object)

Arguments

object

Object.

...

Additional arguments.

Value

Modified object, with names capitalized.

Note

Updated 2019-09-09.

Examples

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