substitute_q | R Documentation |
This version of substitute is needed because substitute
does not
evaluate it's first argument, and it's often useful to be able to modify
a quoted call.
substitute_q(x, env)
x |
a quoted call |
env |
an environment, or something that behaves like an environment
(like a list or data frame), or a reference to an environment (like a
positive integer or name, see |
x <- quote(a + b) substitute(x, list(a = 1, b = 2)) substitute_q(x, list(a = 1, b = 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.