Framework for visualising tables of counts, proportions and probabilities. The framework is called product plots, alluding to the computation of area as a product of height and width, and the statistical concept of generating a joint distribution from the product of conditional and marginal distributions. The framework, with extensions, is sufficient to encompass over 20 visualisations previously described in fields of statistical graphics and 'infovis', including bar charts, mosaic plots, 'treemaps', equal area plots and fluctuation diagrams.
|Author||Hadley Wickham [aut, cre], Heike Hofmann [aut]|
|Date of publication||2016-07-02 07:38:04|
|Maintainer||Hadley Wickham <email@example.com>|
col_labels: Calculate column labels.
colour_level: For ggplot2: colour by weight.
colour_weight: For ggplot2: colour by weight.
ddecker: Template for a double decker plot. A double decker plot is...
find_col_level: Find the first level which has columns.
find_row_level: Find the first level which has rows.
fluct: Fluctation partitioning.
flucts: Template for a fluctuation diagram.
happy: Data related to happiness from the general social survey.
hbar: Horizontal bar partition: width constant, height varies.
hspine: Horizontal spine partition: height constant, width varies.
mosaic: Template for a mosaic plot. A mosaic plot is composed of...
nested: Template for a nested barchart. A nested bar is just a...
parse_product_formula: Parse product formula into component pieces
prodcalc: Calculate frequencies.
prodplot: Create a product plot
row_labels: Calculate row labels.
scale_x_product: Generate an x-scale for ggplot2 graphics.
scale_y_product: Generate a y-scale for ggplot2 graphics.
spine: Spine partition: divide longest dimesion.
stacked: Template for a stacked bar chart. A stacked bar chart starts...
tile: Tree map partitioning.
vbar: Vertical bar partition: height constant, width varies.
vspine: Vertical spine partition: width constant, height varies.