Bounding rectangle for the boxes.
An object of class "owin".
n
Integer. The number of boxes.
horizontal
Logical. If TRUE, arrange the boxes in a horizontal row.
If FALSE (the default), arrange them in a vertical column.
aspect
Aspect ratio (height/width) of each box.
usefrac
Number between 0 and 1. The
fraction of height or width of B that should be
occupied by boxes.
Value
A list of rectangles.
Details
This simple utility generates a list of boxes (rectangles)
inside the bounding box B arranged in a regular
row or column. It is useful for generating the
positions of the panel buttons in the function simplepanel.