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)
model_output | output from |
---|---|
column | the column in `model_output` to calculate the summary for, either "group", "condition" or "treatment" |
surge_plot()
: a plotly chart
surge_plot_data()
: a summarised version of model_output