Package: patchwork 1.3.0.9000
![](https://github.com/thomasp85/patchwork/raw/HEAD/man/figures/logo.png)
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'.
Authors:
patchwork_1.3.0.9000.tar.gz
patchwork_1.3.0.9000.zip(r-4.5)patchwork_1.3.0.9000.zip(r-4.4)patchwork_1.3.0.9000.zip(r-4.3)
patchwork_1.3.0.9000.tgz(r-4.4-any)patchwork_1.3.0.9000.tgz(r-4.3-any)
patchwork_1.3.0.9000.tar.gz(r-4.5-noble)patchwork_1.3.0.9000.tar.gz(r-4.4-noble)
patchwork_1.3.0.9000.tgz(r-4.4-emscripten)patchwork_1.3.0.9000.tgz(r-4.3-emscripten)
patchwork.pdf |patchwork.html✨
patchwork/json (API)
NEWS
# Install 'patchwork' in R: |
install.packages('patchwork', repos = c('https://thomasp85.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/thomasp85/patchwork/issues
ggplot-extensionggplot2visualization
Last updated 1 months agofrom:2695a9f020. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 16 2024 |
R-4.5-win | OK | Oct 16 2024 |
R-4.5-linux | OK | Oct 16 2024 |
R-4.4-win | OK | Oct 16 2024 |
R-4.4-mac | OK | Oct 16 2024 |
R-4.3-win | OK | Oct 16 2024 |
R-4.3-mac | OK | Oct 16 2024 |
Exports:align_patchesalign_plotsareafreeget_dimget_max_dimguide_areainset_elementpatchGrobpatchworkGrobplot_annotationplot_layoutplot_spacerset_dimwrap_elementswrap_ggplot_grobwrap_plotswrap_table
Dependencies:clicolorspacefansifarverggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerrlangscalestibbleutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Specify a plotting area in a layout | area |
Free a plot from various alignments | free |
Add an area to hold collected guides | guide_area |
Create an inset to be added on top of the previous plot | inset_element |
Align plots across multiple pages | align_patches get_dim get_max_dim multipage_align set_dim |
Annotate the final patchwork | plot_annotation |
Plot arithmetic | &.gg *.gg -.ggplot /.ggplot plot_arithmetic |.ggplot |
Define the grid to compose plots in | plot_layout |
Add a completely blank area | plot_spacer |
Wrap arbitrary graphics in a patchwork-compliant patch | wrap_elements |
Make a gtable created from a ggplot object patchwork compliant | wrap_ggplot_grob |
Wrap plots into a patchwork | wrap_plots |
Wrap a table in a patchwork compliant patch | wrap_table |