Args: Describe Function Arguments

Description Usage Arguments Value Note Author(s) See Also Examples

View source: R/Args.R

Description

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

Usage

1

Arguments

name

a function or function name.

sort

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.

Note

Primitive functions like sum and all have no formal arguments. See the formals help page.

Author(s)

Arni Magnusson

See Also

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

help also describes function arguments.

Examples

1
2
3

gdata documentation built on June 6, 2017, 5:04 p.m.

Search within the gdata package
Search all R packages, documentation and source code