Learn R Programming

gdata (version 3.0.1)

Args: Describe Function Arguments

Description

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

Usage

Args(name, sort=FALSE)

Value

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

Arguments

name

a function or function name.

sort

whether arguments should be sorted.

Author

Arni Magnusson

See Also

Args is a verbose alternative to args, based on formals.

help also describes function arguments.

Examples

Run this code
Args(glm)
Args(scan)
Args(legend, sort=TRUE)

Run the code above in your browser using DataLab