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

referrals_plot(model_output, treatment)

referrals_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

referrals_plot(): a plotly chart

referrals_plot_data(): a summarised version of model_output