Skip to content
git-dwilliamsPublic

About

No description or website provided.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

ggpaver logo

ggpaver (Still in Development)

The goal of ggpaver is to facilitate the use of pavement plots in R as a ggplot2 extension. Pavement plots present univariate continuous data as tiles ranging between the minimal and maximal values, with each tile representing an equal share of the data.

Installation

You can install the development version of ggpaver from GitHub with:

# install.packages("pak")
pak::pak("git-dwilliams/ggpaver")

Example

library(ggplot2)
library(ggpaver)

ggplot(diamonds, aes(x = price, y = cut)) +
  geom_pavement(bins = 16) +
  labs(
    title = "A Pavement Plot of Diamond Price (USD) by Cut",
    subtitle = "Each Tile Represents an Equal Share of its Group's Data"
  )

Original Implementation in Python

Check out Aaron Schumacher’s original (and much more mature) implementation in Python:

pip install pavement

About

No description or website provided.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages