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
3
x <- c("Apple" = 1, "Banana" = 2, "Watermelon" = 3)
prop_waffle(x, 1, 4, size = 1)
prop_waffle(x, 1, 4, size = 1, colors = ky_colors(3))

lovetoken/kyoboLT documentation built on May 21, 2019, 7:49 a.m.