upperCamelCase | R Documentation |
Format character strings to use upper camel-style formatting, where word
boundaries are defined by capitlization only (e.g. ThisIsCamelCase
).
upperCamelCase(object, ...)
## S4 method for signature 'character'
upperCamelCase(
object,
strict = TRUE,
smart = TRUE,
names = TRUE,
prefix = TRUE
)
object |
Object. |
strict |
|
smart |
|
names |
Only applies to string mode ( |
prefix |
Enabled by default for string mode, but disabled by default for rename mode, when applicable. |
... |
Additional arguments. |
Note that lower camel case is generally recommended in R over the use of upper camel case. However, upper camel case is recommended by Bioconductor for S4 class names and corresponding generators, but not variables or functions.
Modified object.
Contains syntatically valid names.
For objects with names()
defined, the underlying data
returns unchanged, except for character
or vector
class.
Updated 2021-08-24.
data(syntactic, package = "AcidTest")
object <- syntactic$character
upperCamelCase(object)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.