View source: R/utils-strings.R
toproper | R Documentation |
To Proper
toproper(
string,
replace_underscores = TRUE,
underscore_replacement = " ",
return_as = c("titlecase", "uppercase", "lowercase", "asis"),
uppers = c("Tpa")
)
string |
string to manipulate on |
replace_underscores |
Logical: if |
underscore_replacement |
Character: if argument |
return_as |
How should the string be returned? Options are:
|
uppers |
Abbreviations to keep upper-case. |
"Proper" string
str_replace
.
s <- "variable_a is awesome"
toproper(s)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.