Learn R Programming

SciencesPo (version 1.4.1)

Forge: Veritical, left-aligned layout for 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

Forge(...)

Arguments

...
one or more waffle plots

Examples

Run this code
parts <- c(80, 30, 20, 10)

w1 <- Waffleplot(parts, rows=8)
w2 <- Waffleplot(parts, rows=8)
w3 <- Waffleplot(parts, rows=8)
chart <- Forge(w1, w2, w3)
print(chart)

Run the code above in your browser using DataLab