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 |
A |
exclude |
A |
Value
A named list
.
Examples
f <- function(a, b = 1, c = "", ...) { }
function_defaults(f)
function_defaults(f, exclude = "b")
[Package oeli version 0.5.2 Index]