args {base} | R Documentation |
Displays the argument names and corresponding default values of a function.
args(name)
name |
an interpreted function.
If name is a character string then the function with that
name is found and used. |
This function is mainly used interactively.
For programming, use formals
instead.
A function with identical formal argument list but an empty body if
given an interpreted function; NULL
in case of a variable or
primitive (non-interpreted) function.
args(c) # -> NULL (c is a `primitive' function) args(plot.default)