Description Usage Arguments Value
toName
converts a character string x
to an R symbol / name,
while copying all attributes iff copyAttributes
is TRUE
.
In the case that x
is not a character string, a copy of the object
is returned as-is.
extractLeafSymbols
returns the set of symbols (names) at the leafs
of an expression expr
. The symbols are returned as character strings.
1 2 3 | toName(x, copyAttributes = TRUE)
extractLeafSymbols(expr)
|
x |
The object to operate on. |
expr |
An R expression. |
copyAttributes |
Whether to copy all attributes of |
The result.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.