Plots the table produced by get_proportion_charge() as a stacked
proportion bar chart, with percentage labels.
Arguments
- input
Output of
get_proportion_charge().- variable
Grouping column for the x-axis (tidy-evaluated), e.g.
Condition.- label_size
Text size for the percentage labels (
geom_text); mirrors the report'sPlotTextLabelSizeparam.
Examples
if (FALSE) { # \dontrun{
plot_charge_proportions(get_proportion_charge(counts_charge_condition), Condition)
} # }