Generates a plot that shows the size of the population groups for a given treatment.

popgroups_plot(model_output, treatment)

popgroups_plot_data(model_output, treatment)

Arguments

model_output

output from run_model() and get_model_output()

treatment

a name of a treatment to filter by

Value

popgroups_plot(): a plotly chart

popgroups_plot_data() a summarised version of model_output