Convert a vector
of characters to camel case by replacing
dots by captial letters.
makeCamelCase(x, prefix)
A vector
to be transformed to camel case.
An optional character
of length one. Any
additional elements are ignores.
A character
of same length as x
.
nms <- c("aa.foo", "ab.bar")
makeCamelCase(nms)
#> [1] "aaFoo" "abBar"
makeCamelCase(nms, prefix = "x")
#> [1] "xAaFoo" "xAbBar"