An example from my data:
1 99
85 15
8 92
1 99
10 90
0 100
The problem is the last set of numbers: when there is 0, the waffle behaves like 100. Zero seems to be ignored. Is there any way to prevent this?
Work: green = 10, orange = 90
waffle(c(10, 90))

Doesn't work: green = 0, but it renders as green = 100. Each rectangle should be orange
waffle(c(0, 100))

source
share