do.call {base} | R Documentation |
do.call
executes a function call from the name of the function
and a list of arguments to be passed to it.
do.call(what, args)
what |
a character string naming the function to be called. |
args |
a list of arguments to the function call. The
names attribute of args gives the argument names. |
The result of the (evaluated) function call.
Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) The New S Language. Wadsworth & Brooks/Cole.
call
which creates an unevaluated call.
do.call("complex", list(imag = 1:3))