Learn R Programming

R.oo (version 1.26.0)

Class$argsToString: Gets the arguments of a function as a character string

Description

Gets the arguments (with default values) of a function as a character string, which can be used for debugging purposes etc. Used by: classinfo().

Usage

## Static method (use this):
## Class$argsToString(fcn, ...)

## Don't use the below: # S3 method for Class argsToString(this, fcn, ...)

Value

Returns a character string.

Arguments

...

Not used.

Author

Henrik Bengtsson

See Also

For more information see Class.

Examples

Run this code
  Class$argsToString(plot)

Run the code above in your browser using DataLab