Learn R Programming

waffle (version 1.0.2)

iron: Veritical, left-aligned layout for waffle plots

Description

Left-align the waffle plots by x-axis. Use the pad parameter in waffle to pad each plot to the max width (num of squares), otherwise the plots will be scaled.

Usage

iron(...)

Arguments

...

one or more waffle plots

Examples

Run this code
parts <- c(80, 30, 20, 10)
w1 <- waffle(parts, rows=8)
w2 <- waffle(parts, rows=8)
w3 <- waffle(parts, rows=8)
# print chart
## iron(w1, w2, w3)

Run the code above in your browser using DataLab