str_to_upper_initial | R Documentation |
Capitalize the initial letter in a string. Vectorized.
str_to_upper_initial(x)
x |
(chr) A character vector. |
Just a simple wrapper around stringr functions. Mainly useful for when writing tables to clipboard/supplementary files for writing studies.
A character vector same length as the input.
#make iris colnames lowercase, then capitalize initial letter.
colnames(iris) %>% str_to_lower() %>% str_to_upper_initial()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.