productplots: Product Plots for R

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 <hadley@rstudio.com>
License
GPL-2
Version
0.1.1
URLs

View on CRAN

Man pages

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.

Files in this package

productplots
productplots/tests
productplots/tests/testthat.R
productplots/tests/testthat
productplots/tests/testthat/test-division.r
productplots/tests/testthat/helper-division.r
productplots/tests/testthat/test-labels.r
productplots/tests/testthat/test-plotting.r
productplots/NAMESPACE
productplots/data
productplots/data/happy.rda
productplots/R
productplots/R/productplots.r
productplots/R/plot.r
productplots/R/partition-tile.r
productplots/R/calculate.r
productplots/R/utils.r
productplots/R/divide.r
productplots/R/partition.r
productplots/R/partition-2d.r
productplots/R/parse.r
productplots/R/margin.r
productplots/R/templates.r
productplots/R/labels.r
productplots/R/partition-1d.r
productplots/README.md
productplots/MD5
productplots/DESCRIPTION
productplots/man
productplots/man/happy.Rd
productplots/man/vbar.Rd
productplots/man/find_row_level.Rd
productplots/man/scale_y_product.Rd
productplots/man/find_col_level.Rd
productplots/man/parse_product_formula.Rd
productplots/man/col_labels.Rd
productplots/man/tile.Rd
productplots/man/vspine.Rd
productplots/man/nested.Rd
productplots/man/stacked.Rd
productplots/man/flucts.Rd
productplots/man/colour_level.Rd
productplots/man/ddecker.Rd
productplots/man/hbar.Rd
productplots/man/colour_weight.Rd
productplots/man/prodcalc.Rd
productplots/man/fluct.Rd
productplots/man/mosaic.Rd
productplots/man/spine.Rd
productplots/man/scale_x_product.Rd
productplots/man/row_labels.Rd
productplots/man/prodplot.Rd
productplots/man/hspine.Rd