Learn R Programming

gdata (version 2.2.0)

Args: Formatted Argument List of a Function

Description

Display function argument names and corresponding default values, formatted in two columns for easy reading.

Usage

Args(name, sort.args = FALSE)

Arguments

name
a function or function name.
sort.args
whether arguments should be sorted.

Value

  • A data frame with named rows and a single column called value, containing the default value of each argument.

See Also

args, formals, help.

Examples

Run this code
Args(glm)
Args(scan)
Args(legend)

Run the code above in your browser using DataLab