create_barchart: Create barchart

Description Usage Arguments Value

View source: R/create_barchart.R

Description

Create barchart

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
create_barchart(
  df,
  disag1,
  disag2,
  ci,
  title = "",
  caption = "Welsh Health Equity Status 2020",
  lang = "EN",
  labels = labels
)

Arguments

df

The data to plot

disag1

The first disagregate

disag2

The second disagregate

ci

Whether to display confidence intervals (logical)

title

The plot title

caption

The plot caption

lang

The language to translate into

labels

Vector of possible labels

Value

The plot object


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