Description Usage Arguments Value Examples
Transform a character vector into a camel case representation.
First, convert 'x_chr' to title case with str_case_title
Second, remove spaces
Third, lower first character of each str if 'lower'
1 | str_case_camel(x_chr, lower = TRUE)
|
x_chr |
A character vector with snake_case_formatting |
A character vector the same len as x_chr, with CamelCaseFormatting
1 2 | str_case_camel(x_chr = c("from_snake_case", "From Title Case"))
str_case_camel(x_chr = c("from_snake_case", "From Title Case"), lower=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.