Gets the arguments of a function as a character string

Share:

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

1
2
3
4
5
6
## Static method (use this):
## Class$argsToString(fcn, ...)

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

Arguments

...

Not used.

Value

Returns a character string.

Author(s)

Henrik Bengtsson

See Also

For more information see Class.

Examples

1
  Class$argsToString(plot);

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.