Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/erocoar/gghalves
✂️ Easy half-half geoms in ggplot2
https://github.com/erocoar/gghalves
dataviz ggplot-extension ggplot2 r visualization
Last synced: 2 days ago
JSON representation
✂️ Easy half-half geoms in ggplot2
- Host: GitHub
- URL: https://github.com/erocoar/gghalves
- Owner: erocoar
- License: other
- Created: 2019-09-03T07:17:13.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-11-20T11:11:16.000Z (about 2 years ago)
- Last Synced: 2023-11-20T15:01:48.154Z (about 1 year ago)
- Topics: dataviz, ggplot-extension, ggplot2, r, visualization
- Language: R
- Homepage: https://erocoar.github.io/gghalves/
- Size: 325 KB
- Stars: 229
- Watchers: 5
- Forks: 12
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![R-CMD-check](https://github.com/erocoar/gghalves/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/erocoar/gghalves/actions/workflows/R-CMD-check.yaml)
[![CRAN_Release_Badge](http://www.r-pkg.org/badges/version-ago/gghalves)](https://CRAN.R-project.org/package=gghalves)
[![CRAN_Download_Badge](http://cranlogs.r-pkg.org/badges/grand-total/gghalves)](https://CRAN.R-project.org/package=gghalves)### About
`gghalves` makes it easy to compose your own `half-half` plots via `ggplot2`. Think displaying a boxplot next to jittered points, or violin plots side by side with dotplots.### Installation
`gghalves` can be installed via GitHub:```r
if (!require(devtools)) {
install.packages('devtools')
}
devtools::install_github('erocoar/gghalves')
```### Features
`gghalves` adds `_half_` extensions to selected `geom`s:
- `geom_half_boxplot`
- `geom_half_violin`
- `geom_half_point`All of them have a `side` argument that can be either `l` for left or `r` for right half. As a special case there is also `geom_half_dotplot` to support half dotplots that dodge aesthetics such as `fill` and `colour`.
`gghalves` also works well with other `ggplot2` geoms and extensions such as `geom_dotplot` and `ggbeeswarm::geom_beeswarm`.
![Features](https://i.imgur.com/7APxx1t.png)
### Roadmap
Generally, I hope to add more features over time. If you would like to see a certain feature, please open an issue.