Learn R Programming

Gmisc (version 3.0.3)

prTpGetBoxPositions: Gets the box position

Description

Gets the box position

Usage

prTpGetBoxPositions(
  no,
  side,
  transitions,
  prop_start_sizes,
  prop_end_sizes,
  tot_spacing,
  box_width
)

Value

list(top, left, bottom, right, width, height)

Arguments

no

The box number

side

The right or left side

transitions

The flows to or from

prop_start_sizes

The size of the start boxes

prop_end_sizes

The size of the end boxes

tot_spacing

The proportion of the vertical space that is to be left empty. It is then split evenly between the boxes.

box_width

The width of the box. By default the box is one fourth of the plot width.