Change to CamelCase

toCamelCase(x)

Arguments

x

A character vector

Value

A character vector changed to CamelCase

Examples

toCamelCase(c("a b", "a b-c_d"))
#> [1] "AB" "ABCD"