misc_argument_catcher {kdry} | R Documentation |
misc_argument_catcher
Description
Miscellaneous helper function to type-save catch arguments passed with R's ellipsis ("...").
Usage
misc_argument_catcher(...)
Arguments
... |
Named arguments passed to a function. |
Details
This function aims at catching arguments that have been passed to an R function using R's ellipsis ("..."). Its purpos is to catch these arguments even in the case, if a list with arguments was provided to the ellipsis.
Value
A list
is returned.
Examples
misc_argument_catcher(a = 1)
misc_argument_catcher(a = 1, b = 2, c = 3, d = "car")
misc_argument_catcher(list(a = 1, b = 2, c = 3, d = "car"))
misc_argument_catcher(list(a = 1, b = 2, c = 3, d = "car"), f = 9)
[Package kdry version 0.0.2 Index]