patchwork: The Composer of Plots

The 'ggplot2' package provides a strong API for sequentially building up a plot, but does not concern itself with composition of multiple plots. 'patchwork' is a package that expands the API to allow for arbitrarily complex composition of plots by, among others, providing mathematical operators for combining multiple plots. Other packages that try to address this need (but with a different approach) are 'gridExtra' and 'cowplot'.

Package details

AuthorThomas Lin Pedersen [cre, aut] (<https://orcid.org/0000-0002-5147-4711>)
MaintainerThomas Lin Pedersen <thomasp85@gmail.com>
LicenseMIT + file LICENSE
Version1.3.0
URL https://patchwork.data-imaginist.com https://github.com/thomasp85/patchwork
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("patchwork")

Try the patchwork package in your browser

Any scripts or data that you put into this service are public.

patchwork documentation built on Sept. 17, 2024, 1:07 a.m.