eliocamp / ggpercentogram

Create equal-area histograms with 'ggplot2'

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

remotes::install_github("eliocamp/ggpercentogram")

Example

library(ggplot2)
library(ggpercentogram)
ggplot(diamonds, aes(carat)) +
  geom_percentogram()
#> `stat_quantile_bin()` using `bins = 30`. Pick better value with `binwidth`.

About

Create equal-area histograms with 'ggplot2'

License:Other


Languages

Language:R 100.0%