prop_waffle: Waffle chart (Add proportions)

Description Usage Examples

Description

This function that transforms the waffle::waffle(). It displays the proportions in the legend text.

Usage

1
prop_waffle(x, rounding = 1, ...)

Examples

1
2
x <- c("Apple" = 1, "Banana" = 2, "Watermelon" = 3)
prop_waffle(x, 1, 4, size = 1)

lovetoken/useful.lovetoken documentation built on June 14, 2019, 3:21 p.m.