evalfun | R Documentation |
This function determines which entries in the lists 'supplied' and 'passed' are arguments of the function 'fun.name', and then evaluates the function with those arguments. Entries with names that are not arguments of 'fun.name' are ignored, making it possible to include arguments for multiple functions called in a parent function with argument '...'. See examples.
evalfun(fun.name, supplied.list = NULL, passed = list(...), ...)
fun.name |
Character string with name of the function to be evaluated |
supplied.list |
Arguments and values of fun.name defined explicitely in a list |
passed |
A list with names equal to argument names in the set of names of some arguments with values to use for arguments. This list is typically formed by capturing the "additional arguments to be passed with '...'" in a parent function list(...). |
... |
Arguments and values of fun.name defined explicitely and not together in a list |
Value returned by evaluating the function with 'fun.name' and arguments in lists 'supplied' and 'passed'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.