powered by
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.
pad
waffle
iron(...)
one or more waffle plots
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