Skip to content

productplots

0.1.2

Product Plots for R

1packages depend
54.9Kdownloads / year
61.9%test coverage
13/13checks pass

Overview

About
Maintained by Hadley WickhamFirst published 2011-07-233 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 1.8 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.27
61.9%
Coverage · measured lines
100%
Documentation · exports
2
Dependencies · direct
Check history
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-05-03
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 11 wordsVignettesNopkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
4%
References docs
0%

Downloads

54.9K
CRAN downloads in the past year
Rank #2,955 · ~150/day · ~4.6K/mo
Daily download trend is not available in this view yet.
1.3K30 days
5.2K90 days
54.9K1 year
Compare downloads with other packages →
Also on1.7K r2u27 autocran1.4K conda_forge

Repository

Repository
30Stars
6Forks
4Open issues
11Open PRs
2Releases
123Commits
3Contributors
123 commits · Last activity 2025-10-31 · 0% stars, 30d

Stars over time

2022-10-09 · 292026-07-07 · 30

Repository practices

Upstream repositoryBeta

4 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/hadley/productplots on 2026-07-19.

CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (2)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

Code Composition
R 963 (67%)Rd 481 (33%)
Code characteristics
Cyclomatic complexity
2.0 median / 8 max
Test cases
10 / 0.27 per code line

Test coverage

Line coverage

62%

Expression

63.2%

Tests / Examples

61.9% / 56% ex

Functions

44 23 exported

Complexity

2.2 avg / 8 max

Call network

44 nodes / 48 edges

Loading call graph…

Lowest coverage

44 functions
FunctionCycloCoverage
col_labels exp40%
colour_level exp10%
colour_weight exp10%
ddecker exp20%
flucts exp20%
nested exp20%

Datasets

Bundled datasets · 1
NameClassRows × ColsAlso ships in
happydata.frame51,020 × 10in 3 packages

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Author · added in 0.1.1
Package Timeline

3 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.2Latest
    2025-10-27 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 0.1.1
    2016-07-02 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
  • R
    R 3.0.0 released · 2013-04-03
Show 4 earlier events
  • R
    R 2.15.0 released · 2012-03-30
  • R
    R 2.14.0 released · 2011-10-31
  • 0.1
    2011-07-23
  • R
    R 2.13.0 released · 2011-04-13

Package metadata

First published
2011-07-23
Total releases
3 / 15 yrs
License
GPL-2 OSI
Bundled data
231 KB / 1 file
Download size
228 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →