Description Usage Arguments Details Value Examples
This function provides the Lisp/Scheme lambda form for defining anonymous functions. Its behavior is very similar to R's "function" keyword, but it interprets its arguments in a way that allows it to be used naturally in prefix code. It is not intended to be called the usual way from infix R code.
1 |
params |
A parameter list, which when coerced to pairlist is acceptable to the "function" constructor function. |
... |
Body statements. |
Because R is a Scheme dialect, this lambda is directly evaluable and evaluates to a function object. Common Lisp's sharp-quote operator is not necessary and not provided.
The constructed function.
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.