show: Print method for onions

Description Usage Arguments Details Note Author(s) Examples

Description

Show methods for onions

Usage

1
2
3
## S4 method for signature 'onion'
show(object)
onion_show(x,h=getOption("show_onions_horizontally"))

Arguments

x,object

Onions

h

Boolean, with default FALSE meaning to print horizontally and TRUE meaning to print by columns.

Details

If options("horiz") is TRUE, then print by rows rather than columns (provided that the default value of argument h is not overridden). The default behaviour is to print by columns; do this by setting horiz to anything other than TRUE, including leaving it unset.

Note

Print method for onionmat objects is also sensitive to this option.

Author(s)

Robin K. S. Hankin

Examples

1
roct(4)

onion documentation built on Feb. 11, 2021, 9:06 a.m.