camelCase | R Documentation |
Format character strings to use (lower) camel-style formatting, where word
boundaries are defined by capitlization only (e.g. thisIsCamelCase
).
camelCase(object, ...)
## S4 method for signature 'character'
camelCase(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. |
Camel case is recommended by Bioconductor for variable and function names.
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
camelCase(object)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.