Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 660 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 660 Bytes

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`.