function_defaults {oeli} | R Documentation |
Get default function arguments
Description
This function returns the default function arguments (if any).
Usage
function_defaults(f, exclude = NULL)
Arguments
f |
[ |
exclude |
[ Can be |
Value
A named list
.
See Also
Other function helpers:
do.call_timed()
,
function_arguments()
,
function_body()
,
quiet()
,
timed()
,
try_silent()
,
variable_name()
Examples
f <- function(a, b = 1, c = "", ...) { }
function_defaults(f)
function_defaults(f, exclude = "b")
[Package oeli version 0.6.0 Index]