abm_waffle_pct: Create waffle chart (5 rows, 20 columns) for any single...

View source: R/abm.R

abm_waffle_pctR Documentation

Create waffle chart (5 rows, 20 columns) for any single percentage

Description

Create waffle chart (5 rows, 20 columns) for any single percentage

Usage

abm_waffle_pct(pct, label, col)

Arguments

pct

a percentage expressed as a decimal number 0 <= pct <= 1

label

a title for the chart, displayed above the waffle (optional)

col

a vector with colors for filling (optional)

Value

a ggplot object


KTH-Library/bibliomatrix documentation built on Feb. 29, 2024, 5:54 a.m.