Description Usage Arguments Examples
Syntax sugar of making an anonymous function
1 2 3 4 5 6 7 | as.formals(x, value = list(quote(expr = )))
is.formals(y)
f.r(..., env_ = parent.frame())
f.(...)
|
x |
coerced to character (internally STRSXP). |
value |
a default value for making formal parameters. |
y |
expected to be a pairlist object which is all different named. |
... |
If one argument is passed, that is parsed as lambda's body. If two or more argument is passed, the last part is parsed as lambda's body and the rest are parsed as formal parameters for lambda. |
env_ |
an environment in which call object is evaluated. |
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.