plotbb: Grammar of Graphics on 'base' Graphics

Implements a grammar of graphics on top of the 'base' graphics system. A 'bbplot' object is built incrementally with a '+' operator from data, aesthetic mappings and layers, then rendered with base graphics, so plotbb layers can be mixed with ordinary base plotting calls. The package provides layers for points, lines, bars, histograms, densities, boxplots, violins, ribbons, smooths, error bars and tiles, together with colour and other aesthetic scales, automatic legends, faceting, themes, coordinate flipping and significance annotations.

Version: 1.0.0
Depends: R (≥ 4.1.0)
Imports: graphics, stats, rlang, scales, methods, utils
Suggests: ape, aplot (≥ 0.0.8), dplyr, ggplotify (≥ 0.1.0), quarto, knitr, testthat
Published: 2026-10-18
DOI: 10.32614/CRAN.package.plotbb
Author: Guangchuang Yu ORCID iD [aut, cre, cph]
Maintainer: Guangchuang Yu <guangchuangyu at gmail.com>
License: Artistic-2.0
NeedsCompilation: no
Materials: NEWS
CRAN checks: plotbb results

Documentation:

Reference manual: plotbb.html , plotbb.pdf
Vignettes: plotbb (source, R code)

Downloads:

Package source: plotbb_1.0.0.tar.gz
Windows binaries: r-devel: plotbb_0.1.2.zip, r-release: plotbb_0.1.2.zip, r-oldrel: plotbb_0.1.2.zip
macOS binaries: r-release (arm64): plotbb_0.1.2.tgz, r-oldrel (arm64): plotbb_0.1.2.tgz, r-release (x86_64): plotbb_0.1.2.tgz, r-oldrel (x86_64): plotbb_0.1.2.tgz
Old sources: plotbb archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=plotbb to link to this page.