stacked_composition_bar_chart.Rd
Create a stacked bar chart, with optional settings for percentage (or not) and wrap (or not) modes.
stacked_composition_bar_chart(
df,
x,
color,
id,
facet_name_var = rlang::sym("VIS_Groep_naam"),
percentage = FALSE,
wrap = FALSE
)
The data frame used to create the plot.
The variable used on the x-axis of the plot.
The variable used to color the points or bars in the plot.
The identifier for selecting the data frame source.
The name of the variable used for facet wrapping.
Logical indicating whether to create a plot in percentage mode.
Logical indicating whether to use facet wrapping.
A ggplot object.