Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/eliocamp/ggpercentogram

Create equal-area histograms with 'ggplot2'
https://github.com/eliocamp/ggpercentogram

Last synced: 20 days ago
JSON representation

Create equal-area histograms with 'ggplot2'

Awesome Lists containing this project

README

        

---
output: github_document
---

```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```

# ggpercentogram

A percentogram is a histogram in which each bin has the same number of observations and is
drawn to have an equal area.

## Installation

You can install the development version of ggpercentogram like so:

``` r
remotes::install_github("eliocamp/ggpercentogram")
```

## Example

```{r example}
library(ggplot2)
library(ggpercentogram)
ggplot(diamonds, aes(carat)) +
geom_percentogram()
```