capitalize | R Documentation |
Capitalizes the first letter (by default) or a substring of a given character string or each element of the character vector
capitalize(x, start = 1, end = 1)
x |
a character string or a character vector |
start |
starting position of the susbtring (default = 1) |
end |
ending position of the susbtring (default = 1) |
a character string or a character vector
capitalize("abc")
capitalize(c("abc", "xyx"), start = 2, end = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.