Match arguments in a call to function and add default values
Match arguments in a call to function and add default values
match.call.withDef(definition, call)
definition |
Definition of the function to match against |
call |
The call that should be matched |
Given the definition of a function and a call, it matches the arguments so that they are named and inserts any default argument values where those are missing
A call with named arguments and default values
Holger Hoefling
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.