plot_case_scenario: Hospitalisation time-series plotting function

Description Usage Arguments Format Value

View source: R/covid_simr-gamma.R

Description

This is a convenience function to plot the hospitalisations over time for a given input dataset for the simulation

Usage

1
plot_case_scenario(case_df, display = TRUE)

Arguments

case_df

data.frame, cases admitted with two columns, dates; str dates, hospitalisations; int number of cases.

display

log, defaults to TRUE. Should the plot display or not.

Format

A data frame with 2 variables:

dates

string, date

hospitalisations

int, hopitalisation cases

Value

Time-series plot of hospitalisations. Invisibly returns the plot object.


nhs-bnssg-analytics/covid-simr documentation built on May 12, 2020, 4:55 p.m.