doCall | R Documentation |
Executes a function call with option to ignore unused arguments.
## Default S3 method:
doCall(.fcn, ..., args=NULL, alwaysArgs=NULL, .functions=list(.fcn),
.ignoreUnusedArgs=TRUE, envir=parent.frame())
.fcn |
A |
... |
Named arguments to be passed to the function. |
args |
A |
alwaysArgs |
A |
.functions |
A |
.ignoreUnusedArgs |
If |
envir |
An |
Henrik Bengtsson
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"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.