Generates a plot that shows the amount of people who were referred and treated, and referred but not treated, as generated by the model.

surge_plot(model_output, column)

surge_plot_data(model_output, column)

Arguments

model_output

output from run_model() and get_model_output()

column

the column in `model_output` to calculate the summary for, either "group", "condition" or "treatment"

Value

surge_plot(): a plotly chart

surge_plot_data(): a summarised version of model_output