Calculate column labels.
For ggplot2: colour by weight.
For ggplot2: colour by weight.
Template for a double decker plot. A double decker plot is composed of a sequence of spines in the same direction, with the final spine in the opposite direction.
Find the first level which has columns.
Find the first level which has rows.
Fluctation partitioning.
Template for a fluctuation diagram.
Data related to happiness from the general social survey.
Horizontal bar partition: width constant, height varies.
Horizontal spine partition: height constant, width varies.
Template for a mosaic plot. A mosaic plot is composed of spines in alternating directions.
Template for a nested barchart. A nested bar is just a sequence of bars in the same direction.
Parse product formula into component pieces
Calculate frequencies.
Create a product plot
Calculate row labels.
Generate an x-scale for ggplot2 graphics.
Generate a y-scale for ggplot2 graphics.
Spine partition: divide longest dimesion.
Template for a stacked bar chart. A stacked bar chart starts with a bar and then continues with spines in the opposite direction.
Tree map partitioning.
Vertical bar partition: height constant, width varies.
Vertical spine partition: width constant, height varies.