prTpGetBoxPositions: Gets the box position

View source: R/transitionPlot_helpers.R

prTpGetBoxPositionsR Documentation

Gets the box position

Description

Gets the box position

Usage

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

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.

Value

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


Gmisc documentation built on Aug. 26, 2023, 1:07 a.m.