Description Usage Arguments Details Value Examples
When a name is encountered in the body of a function, the search path
for that name is given by the defining (or enclosing) environment of the
function. This is good behaviour, since it allows simple reasoning about how
a function should behave: If two calls to a function defined in a constant
environment e
yield different results, this must be because they are
given different arguments.
1 | S(call, env = parent.frame(), quote = TRUE)
|
call |
The function call to evaluate. |
env |
The environment where the function is defined. Defaults to
|
quote |
Logical; If |
Sometimes, a function is defined to make messy code more readable, but is only intended to be used once. In these cases, you might want to call the function as if it was defined in the body of the work you're currently working with. And that is what this function does for you.
The value of the function call when evaluated in the specified environment.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.