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

## 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.

See also

For more information see Class.

Author

Henrik Bengtsson

Examples

  Class$argsToString(plot)
#> [[1]]
#> [1] "x"
#> 
#> [[2]]
#> [1] "y"
#> 
#> [[3]]
#> [1] "..."
#>