expr_get_names | R Documentation |
Extract (symbol) names from an expression. The expression must be a list or vector of strings and/or symbols
expr_get_names(expr)
expr |
expression to extract names from |
vector of strings, the names referred to in the expression
## Not run:
expr_get_names(expr("a")) == expr_get_names(expr(a))
expr_get_names(expr(c("a", b)))
# c("a","b")
expr_get_names(expr(list("a", b = c)))
# c("a",b="c")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.