Learn R Programming

rapportools (version 1.1)

capitalise: Capitalise String

Description

Capitalises strings in provided character vector

Usage

capitalise(x)

Arguments

x

a character vector to capitalise

Value

character vector with capitalised string elements

Examples

Run this code
# NOT RUN {
capitalise(c("foo", "bar")) # [1] "Foo" "Bar"
# }

Run the code above in your browser using DataLab