Forge: Veritical, left-aligned layout for plots

Description Usage Arguments Examples

View source: R/UTILS.R

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

1

Arguments

...

one or more waffle plots

Examples

1
2
3
4
5
6
7
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)

SciencesPo documentation built on May 29, 2017, 9:28 p.m.

Search within the SciencesPo package
Search all R packages, documentation and source code