MatchingArguments {fake} | R Documentation |
Matching arguments
Description
Returns a vector of overlapping character strings between extra_args
and arguments from function FUN
. If FUN
is taking ...
as
input, this function returns extra_args
.
Usage
MatchingArguments(extra_args, FUN)
Arguments
extra_args |
vector of character strings. |
FUN |
function. |
Value
A vector of overlapping arguments.
Examples
MatchingArguments(
extra_args = list(Sigma = 1, test = FALSE),
FUN = MASS::mvrnorm
)
[Package fake version 1.4.0 Index]