match.call returns a call in which all of the specified arguments are
specified by their full names.
1 2 3 4
a function, by default the function from which
an unevaluated call to the function specified by
logical. Should arguments matching
an environment, from which the
‘function’ on this help page means an interpreted function
(also known as a ‘closure’):
match.call does not support
primitive functions (where argument matching is normally
match.call is most commonly used in two circumstances:
To record the call for later re-use: for example most
model-fitting functions record the call as element
the list they return. Here the default
expand.dots = TRUE
To pass most of the call to another function, often
model.frame. Here the common idiom is that
expand.dots = FALSE is used, and the
of the matched call is removed. An alternative is to
explicitly select the arguments to be passed on, as is done in
match.call outside a function without specifying
definition is an error.
An object of class
Chambers, J. M. (1998) Programming with Data. A Guide to the S Language. Springer.
sys.call() is similar, but does not expand the
1 2 3 4 5 6
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.