Description Usage Arguments Value
View source: R/create_barchart.R
Create barchart
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
)
|
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 |
The plot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.