baffle

Waffle graphs in base R graphics.

Installation

You can install the latest version of baffle from CRAN with:

install.packages("baffle")

or directly from GitHub using the devtools package:

# devtools::install_github("j-moravec/baffle")
install.packages("baffle", repos = c('https://j-moravec.r-universe.dev', 'https://cloud.r-project.org'))

Example

See online documentation for a more complex examples.

library(baffle)
waffle(c(25,75), col=c("darkorchid", "lightgray"))