Description Usage Arguments Details Value Author(s) Examples
The function 'threeDotsCall' gets the formal arguments of a function 'fun' and checks if the passed arguments '...' matches the formal arguments. 'threeDotsCall' will call the function 'fun' with the filtered arguments and will return the result of the function call and the given arguments.
1 | threeDotsCall(fun, ...)
|
fun |
'function' to check for arguments and to call |
... |
arguments to be tested to be passed to 'fun' |
Used internally in 'lasso', 'randomForest', 'bayes', 'statistical' and 'threshold'.
'threeDotsCall' will not remove duplicated arguments and throw an error.
Returned object given the function call with passed arguments
Thomas Naake, thomasnaake@googlemail.com
1 2 3 4 | MetNet:::threeDotsCall(stats::sd, x = 1:10, y = 1:10)
## in contrast to the above example, the following example will result in an
## error
## Not run: stats::sd(x = 1:10, y = 1:10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.