make_figure_S1: Construct Figure S1 from the supplementary material

Description Usage Arguments Value Author(s) Examples

View source: R/figuresS1toS4.R

Description

Construct Figure S1 from the supplementary material

Usage

1

Arguments

res

data.frame of results from scenarios from generate_analysis.R

Value

ggplot object

Author(s)

Joel Hellewell

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 

sweep_results <- readRDS("data-raw/res.rds")
res <- sweep_results %>%
 dplyr::group_by(scenario) %>%
 dplyr::mutate(pext=extinct_prob(sims[[1]],cap_cases = 5000)) %>%
 dplyr::ungroup(scenario)

make_figure_S1(results)

## End(Not run)

covid19risk/impact-sim documentation built on April 16, 2021, 2:15 a.m.