View source: R/substitute_names.R
substitute_names | R Documentation |
This function substitutes the names on both left- and right-hand sides in a quoted expression. In addition it can also do other standard substitutions on the right-hand side.
substitute_names(expr, names, others = list())
h_subst_lhs_names(qexpr, names)
substitute_lhs_names(qexpr, names)
substitute_rhs(qexpr, env)
expr |
( |
names |
(named |
others |
(named |
qexpr |
( |
env |
( |
The modified expression.
h_subst_lhs_names()
: Helper function to just substitute the top-level names on the left-hand side in a
quoted expression.
substitute_lhs_names()
: recursively substitutes all names on the left-hand sides in a quoted expression.
substitute_rhs()
: substitutes on the right-hand side in a quoted expression.
Note that this is just a synonym for substitute_q()
.
substitute_q()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.