getParms: Get a list of parameters called in a function

Description Usage Arguments Value See Also Examples

View source: R/getParms.R

Description

getParms() produces a named list of character values containing the parameters supplied to a function

Usage

1

Arguments

which

if negative then the number of frames to go back; otherwise the frame number

Value

A list of length 1 character vectors containing the parameters that where supplied to a function. The names of the list are the arguments to the function.

See Also

match.call, sys.parent

Examples

1
2
foo <- function(x, y){getParms()}
foo(iris, 1983)

dnegrey/miscTools documentation built on May 3, 2019, 2:57 p.m.