Description Usage Arguments Examples
Function to create anonymous functions (lambdas) in a very concise manner.
Simply write the body of the function as you would normally.  If you want a
given variable to appear as one of the arguments to the function, put it in
.().  Default arguments can be specified as you normally would in the
argument list.
1  | f(expr, env = parent.frame())
 | 
expr | 
 Expression that is the body of the function  | 
env | 
 the environment the new function will have  | 
1 2 3 4 5  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.