Waffle graphs in base R graphics.
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")See online documentation for a more complex examples.
library(baffle)
waffle(c(25,75), col=c("darkorchid", "lightgray"))