View source: R/misc_argument_catcher.R
misc_argument_catcher | R Documentation |
Miscellaneous helper function to type-save catch arguments passed with R's ellipsis ("...").
misc_argument_catcher(...)
... |
Named arguments passed to a function. |
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.
A list
is returned.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.