
Last chance! 50% off unlimited learning
Sale ends in
## S3 method for class 'default':
doCall(.fcn, ..., args=NULL, alwaysArgs=NULL, .functions=.fcn, .ignoreUnusedArgs=TRUE)
character
string naming the function to be called.list
of additional named arguments that will be appended
to the above arguments.list
of additional named arguments that will be
appended to the above arguments and that will never be ignore.
This is useful if you want to pass arguments to a function that accepts
TRUE
, arguments that are not accepted by the
function, will not be passed to it. Otherwise, all arguments are passed.do.call
().doCall("plot", x=1:10, y=sin(1:10), col="red", dummyArg=54,
alwaysArgs=list(xlab="x", ylab="y"),
.functions=c("plot", "plot.xy"))
Run the code above in your browser using DataLab