showArgs function

Display Expected Widget Arguments

Display Expected Widget Arguments

For each widget specified, display its arguments in order with their default values. The display list can be expanded to report each argument on a single line.

showArgs(widget, width=70, showargs=FALSE)

Arguments

  • widget: vector string of widget names; if not specified (default), the function displays information about all widgets in alphabetical order.
  • width: numeric width used by strwrap to wrap lines of the widget usage section.
  • showargs: logical:, if TRUE, the display also lists each argument on single line after the widget usage section.

Returns

A text stream to the R console. Invisibly returns the widget usage lines.

Author(s)

Alex Couture-Beil, Vancouver Island University, Nanaimo BC