Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
1 of 21 committers (4.8%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (18.3%) to scientific vocabulary
Keywords
ggplot-extension
ggplot2
rstats
visualization
Keywords from Contributors
visualisation
rmarkdown
setup
tidy-data
grammar
data-manipulation
package-creation
travis-ci
coverage-report
coverage
Last synced: 6 months ago
·
JSON representation
Repository
The Composer of ggplots
Basic Info
- Host: GitHub
- Owner: thomasp85
- License: other
- Language: R
- Default Branch: main
- Homepage: https://patchwork.data-imaginist.com
- Size: 60.2 MB
Statistics
- Stars: 2,553
- Watchers: 44
- Forks: 165
- Open Issues: 59
- Releases: 9
Topics
ggplot-extension
ggplot2
rstats
visualization
Created about 8 years ago
· Last pushed 6 months ago
Metadata Files
Readme
Changelog
License
Code of conduct
README.Rmd
---
output: github_document
---
```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
message = FALSE
)
```
# patchwork
[](https://github.com/thomasp85/patchwork/actions/workflows/R-CMD-check.yaml)
[](https://CRAN.R-project.org/package=patchwork)
[](https://CRAN.R-project.org/package=patchwork)
[](https://app.codecov.io/gh/thomasp85/patchwork?branch=main)
The goal of `patchwork` is to make it ridiculously simple to combine separate
ggplots into the same graphic. As such it tries to solve the same problem as
`gridExtra::grid.arrange()` and `cowplot::plot_grid` but using an API that
incites exploration and iteration, and scales to arbitrarily complex layouts.
## Installation
You can install patchwork from CRAN using `install.packages('patchwork')`.
Alternatively you can grab the development version from github using devtools:
```{r gh-installation, eval = FALSE}
# install.packages("devtools")
devtools::install_github("thomasp85/patchwork")
```
## Basic example
The usage of `patchwork` is simple: just add plots together!
```{r example}
library(ggplot2)
library(patchwork)
p1 <- ggplot(mtcars) + geom_point(aes(mpg, disp))
p2 <- ggplot(mtcars) + geom_boxplot(aes(gear, disp, group = gear))
p1 + p2
```
patchwork provides rich support for arbitrarily complex layouts with full
alignment. As an example, check out this very readable code for nesting three
plots on top of a third:
```{r, message=FALSE}
p3 <- ggplot(mtcars) + geom_smooth(aes(disp, qsec))
p4 <- ggplot(mtcars) + geom_bar(aes(carb))
(p1 | p2 | p3) /
p4
```
## Learn more
patchwork can do so much more. Check out the guides for learning everything
there is to know about all the different features:
- [Getting Started](https://patchwork.data-imaginist.com/articles/patchwork.html)
- [Assembling Plots](https://patchwork.data-imaginist.com/articles/guides/assembly.html)
- [Defining Layouts](https://patchwork.data-imaginist.com/articles/guides/layout.html)
- [Adding Annotation](https://patchwork.data-imaginist.com/articles/guides/annotation.html)
- [Aligning across pages](https://patchwork.data-imaginist.com/articles/guides/multipage.html)
## Code of Conduct
Please note that the patchwork project is released with a [Contributor Code of Conduct](https://patchwork.data-imaginist.com/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.
Owner
- Name: Thomas Lin Pedersen
- Login: thomasp85
- Kind: user
- Location: Copenhagen
- Company: @posit-pbc, part of @tidyverse team
- Website: www.data-imaginist.com
- Twitter: thomasp85
- Repositories: 121
- Profile: https://github.com/thomasp85
Maker of tools focusing on data science and data visualisation
GitHub Events
Total
- Release event: 1
- Issues event: 38
- Watch event: 92
- Member event: 1
- Issue comment event: 46
- Push event: 13
- Pull request review event: 1
- Pull request review comment event: 1
- Pull request event: 9
- Fork event: 6
Last Year
- Release event: 1
- Issues event: 38
- Watch event: 92
- Member event: 1
- Issue comment event: 46
- Push event: 13
- Pull request review event: 1
- Pull request review comment event: 1
- Pull request event: 9
- Fork event: 6
Committers
Last synced: 8 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Thomas Lin Pedersen | t****5@g****m | 294 |
| Steve Haroz | s****z | 6 |
| Teun van den Brand | 4****d | 6 |
| Yunuuuu | y****6@o****m | 3 |
| Enrico Spinielli | e****i@g****m | 2 |
| ilia-kats | i****s@g****t | 2 |
| Andrew Collier | a****w@e****z | 1 |
| James Curley | j****1@c****u | 1 |
| Jeremy | j****y@1****m | 1 |
| Alex Petty | p****x@g****m | 1 |
| András Svraka | s****s@g****m | 1 |
| Brenton M. Wiernik | b****k | 1 |
| Brodie Gaslam | b****G | 1 |
| Kevin Ushey | k****y@g****m | 1 |
| Martin Møller Skarbiniks Pedersen | t****r@g****m | 1 |
| Matthew Henderson | m****n@g****m | 1 |
| Michael Chirico | m****4@g****m | 1 |
| Peter Hickey | p****y@g****m | 1 |
| Robert M Flight | r****9@g****m | 1 |
| olivroy | 5****y | 1 |
| sixvable | 9****0@q****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 212
- Total pull requests: 37
- Average time to close issues: about 1 year
- Average time to close pull requests: 3 months
- Total issue authors: 158
- Total pull request authors: 11
- Average comments per issue: 1.93
- Average comments per pull request: 1.78
- Merged pull requests: 28
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 48
- Pull requests: 10
- Average time to close issues: 3 days
- Average time to close pull requests: about 2 months
- Issue authors: 36
- Pull request authors: 2
- Average comments per issue: 0.29
- Average comments per pull request: 0.9
- Merged pull requests: 5
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- thomasp85 (17)
- Yunuuuu (8)
- bbimber (3)
- ltuijnder (3)
- RS-eco (3)
- jbengler (3)
- bwiernik (3)
- r2evans (3)
- mattwarkentin (3)
- AmelZulji (3)
- DanChaltiel (3)
- MokeEire (2)
- occamkg (2)
- stephenwilliams22 (2)
- jack-davison (2)
Pull Request Authors
- teunbrand (15)
- Yunuuuu (8)
- thomasp85 (2)
- pettyalex (2)
- svraka (2)
- MichaelChirico (2)
- olivroy (2)
- bwiernik (1)
- PeteHaitch (1)
- thomas-neitmann (1)
- jeremy-allen (1)
Top Labels
Issue Labels
feature (22)
bug (8)
reprex (3)
Pull Request Labels
Packages
- Total packages: 2
-
Total downloads:
- cran 233,195 last-month
- Total docker downloads: 33,772,749
-
Total dependent packages: 260
(may contain duplicates) -
Total dependent repositories: 750
(may contain duplicates) - Total versions: 19
- Total maintainers: 1
cran.r-project.org: patchwork
The Composer of Plots
- Homepage: https://patchwork.data-imaginist.com
- Documentation: http://cran.r-project.org/web/packages/patchwork/patchwork.pdf
- License: MIT + file LICENSE
-
Latest release: 1.3.2
published 6 months ago
Rankings
Stargazers count: 0.1%
Forks count: 0.4%
Dependent packages count: 0.5%
Dependent repos count: 0.5%
Downloads: 0.8%
Average: 3.2%
Docker downloads count: 17.3%
Maintainers (1)
Last synced:
6 months ago
proxy.golang.org: github.com/thomasp85/patchwork
- Documentation: https://pkg.go.dev/github.com/thomasp85/patchwork#section-documentation
- License: other
-
Latest release: v1.3.1
published 8 months ago
Rankings
Dependent packages count: 9.0%
Average: 9.6%
Dependent repos count: 10.2%
Last synced:
7 months ago