Learn R Programming

DescTools (version 0.99.19)

InDots: Is a Specific Argument in the Dots-Arguments?

Description

Returns TRUE if a specific named argument was given in the dots.

Usage

InDots(..., arg, default)

Arguments

...
the dots arguments of the function whose arguments are to be checked.
arg
the name of argument to test for.
default
the default value to return, if the argument arg does not exist in the dots.

Value