surge_plot: Surge Plot

View source: R/plot_surge.R

surge_plotR Documentation

Surge Plot

Description

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

Usage

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


The-Strategy-Unit/723_mh_covid_surge_modelling documentation built on April 13, 2022, 8:52 a.m.