create_waffle: Create waffle Create waffle plot on selected data

Description Usage Arguments

View source: R/create_waffle.R

Description

Create waffle Create waffle plot on selected data

Usage

1
2
3
4
5
6
7
8
9
create_waffle(
  df,
  disag,
  title = "",
  caption = "Welsh Health Equity Status 2020",
  legend_labels = c("Yes", "No"),
  plot_width = 1.6,
  lang = "EN"
)

Arguments

df

The data to plot

disag

The grouping to disaggregate (can be None)

title

The title for the plot

caption

The caption for the plot

legend_labels

The legend labels

plot_width

The width of the plot

lang

The langauge to translate into


WHESRi/whesApp documentation built on Dec. 18, 2021, 6:21 p.m.