thomasp85/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'.

Getting started

Package details

MaintainerThomas Lin Pedersen <thomasp85@gmail.com>
LicenseMIT + file LICENSE
Version1.3.0.9000
URL https://patchwork.data-imaginist.com https://github.com/thomasp85/patchwork
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("thomasp85/patchwork")
thomasp85/patchwork documentation built on June 14, 2025, 8:53 a.m.