Generates a plot that shows the demand generated by the model.

demand_plot(model_output, appointments, treatment)

demand_plot_data(model_output, appointments, treatment)

Arguments

model_output

output from run_model() and get_model_output()

appointments

output from get_appointments()

treatment

a name of a treatment to filter by

Value

demand_plot(): a plotly chart

demand_plot_data(): a summarised version of model_output