formalArgs
Access to the Formal Argument Names

Description

Get the formal argument names of a function.

Usage

formalArgs(def)

Arguments

def a function object or a function name.
Value
returns a character vector of argument names.
See Also
args, formals.
Examples
# Getting names of formal arguments
formalArgs(lm)
formalArgs("lapply")
Package methods version 6.1.1-7
Package Index