Skip to content

Commit

Permalink
differences for PR #93
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Dec 18, 2023
1 parent f79da39 commit abce44f
Show file tree
Hide file tree
Showing 10 changed files with 44 additions and 2,091 deletions.
81 changes: 0 additions & 81 deletions config.yaml

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed fig/simulating-transmission-rendered-plot-1.png
Binary file not shown.
Binary file removed fig/simulating-transmission-rendered-traj-1.png
Binary file not shown.
Binary file removed fig/simulating-transmission-rendered-visualise-1.png
Binary file not shown.
28 changes: 14 additions & 14 deletions md5sum.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
"file" "checksum" "built" "date"
"CODE_OF_CONDUCT.md" "549f00b0992a7743c2bc16ea6ce3db57" "site/built/CODE_OF_CONDUCT.md" "2023-11-20"
"LICENSE.md" "14377518ee654005a18cf28549eb30e3" "site/built/LICENSE.md" "2023-11-20"
"config.yaml" "e7027efc188d35350a68ad8f50b9777e" "site/built/config.yaml" "2023-11-20"
"index.md" "adfca1a79e0106ee8b3f7731d0678b59" "site/built/index.md" "2023-11-20"
"links.md" "8184cf4149eafbf03ce8da8ff0778c14" "site/built/links.md" "2023-11-20"
"episodes/simulating-transmission.Rmd" "1772135692f677dbd2516da44ee79809" "site/built/simulating-transmission.md" "2023-12-13"
"episodes/model-choices.Rmd" "88731fa7294dce80bffeef8e51738e76" "site/built/model-choices.md" "2023-11-20"
"episodes/modelling-interventions.Rmd" "0c2b8a23920ad50e6cde1bd0eadb0859" "site/built/modelling-interventions.md" "2023-11-20"
"episodes/compare-interventions.Rmd" "78123d2140fbe6488cd295eba3066fcd" "site/built/compare-interventions.md" "2023-11-20"
"instructors/instructor-notes.md" "ca3834a1b0f9e70c4702aa7a367a6bb5" "site/built/instructor-notes.md" "2023-11-20"
"learners/reference.md" "7980e987fc72761f30df53cb3ef246fc" "site/built/reference.md" "2023-12-16"
"learners/setup.md" "b3c6bfa13fd687f926bb1a3e772a2516" "site/built/setup.md" "2023-11-20"
"profiles/learner-profiles.md" "31b503c4b5bd1f0960ada730eca4a25e" "site/built/learner-profiles.md" "2023-11-20"
"renv/profiles/lesson-requirements/renv.lock" "11f723731ae793f0efcfe51dc1acf874" "site/built/renv.lock" "2023-11-20"
"CODE_OF_CONDUCT.md" "549f00b0992a7743c2bc16ea6ce3db57" "site/built/CODE_OF_CONDUCT.md" "2023-12-18"
"LICENSE.md" "14377518ee654005a18cf28549eb30e3" "site/built/LICENSE.md" "2023-12-18"
"config.yaml" "e7027efc188d35350a68ad8f50b9777e" "site/built/config.yaml" "2023-12-18"
"index.md" "adfca1a79e0106ee8b3f7731d0678b59" "site/built/index.md" "2023-12-18"
"links.md" "8184cf4149eafbf03ce8da8ff0778c14" "site/built/links.md" "2023-12-18"
"episodes/simulating-transmission.Rmd" "1772135692f677dbd2516da44ee79809" "site/built/simulating-transmission.md" "2023-12-18"
"episodes/model-choices.Rmd" "88731fa7294dce80bffeef8e51738e76" "site/built/model-choices.md" "2023-12-18"
"episodes/modelling-interventions.Rmd" "0c2b8a23920ad50e6cde1bd0eadb0859" "site/built/modelling-interventions.md" "2023-12-18"
"episodes/compare-interventions.Rmd" "78123d2140fbe6488cd295eba3066fcd" "site/built/compare-interventions.md" "2023-12-18"
"instructors/instructor-notes.md" "ca3834a1b0f9e70c4702aa7a367a6bb5" "site/built/instructor-notes.md" "2023-12-18"
"learners/reference.md" "7980e987fc72761f30df53cb3ef246fc" "site/built/reference.md" "2023-12-18"
"learners/setup.md" "b3c6bfa13fd687f926bb1a3e772a2516" "site/built/setup.md" "2023-12-18"
"profiles/learner-profiles.md" "31b503c4b5bd1f0960ada730eca4a25e" "site/built/learner-profiles.md" "2023-12-18"
"renv/profiles/lesson-requirements/renv.lock" "2d77589cf3455f0da73ed3f0af9bfce7" "site/built/renv.lock" "2023-12-18"
33 changes: 30 additions & 3 deletions modelling-interventions.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ In mathematical modelling, we must make assumptions about how NPIs will affect t
#### Effect of school closures on COVID-19 spread


```{.error}
Error in infection(r0 = 2.7, preinfectious_period = 4, infectious_period = 5.5): could not find function "infection"
```


We want to investigate the effect of school closures on reducing the number of individuals infectious with COVID-19 through time. We assume that a school closure will reduce the frequency of contacts within and between different age groups.
Expand Down Expand Up @@ -108,6 +111,9 @@ close_schools <- intervention(
```


```{.error}
Error in model_default_cpp(population = uk_population, infection = covid, : unused argument (infection = covid)
```


To run the model with an intervention we set ` intervention = list(contacts = close_schools)` as follows:
Expand All @@ -122,10 +128,17 @@ output_school <- model_default_cpp(
)
```

```{.error}
Error in model_default_cpp(population = uk_population, infection = covid, : unused argument (infection = covid)
```


We see that with the intervention (solid line) in place, the infection still spreads through the population, though the epidemic peak is smaller than the baseline with no intervention in place (dashed line).

<img src="fig/modelling-interventions-rendered-plot_school-1.png" style="display: block; margin: auto;" />

```{.error}
Error in eval(expr, envir, enclos): object 'output_school' not found
```

#### Effect of mask wearing on COVID-19 spread

Expand Down Expand Up @@ -158,9 +171,16 @@ output_masks <- model_default_cpp(
)
```

```{.error}
Error in model_default_cpp(population = uk_population, infection = covid, : unused argument (infection = covid)
```




<img src="fig/modelling-interventions-rendered-plot_masks-1.png" style="display: block; margin: auto;" />
```{.error}
Error in eval(expr, envir, enclos): object 'output_masks' not found
```


## Pharmaceutical interventions
Expand Down Expand Up @@ -208,9 +228,16 @@ output_vaccinate <- model_default_cpp(
)
```

```{.error}
Error in model_default_cpp(population = uk_population, infection = covid, : unused argument (infection = covid)
```

Here we see that the total number of infectious individuals when vaccination is in place is much lower compared to school closures and mask wearing interventions.

<img src="fig/modelling-interventions-rendered-plot_vaccinate-1.png" style="display: block; margin: auto;" />

```{.error}
Error in eval(expr, envir, enclos): object 'output_vaccinate' not found
```


## Summary
Expand Down
Loading

0 comments on commit abce44f

Please sign in to comment.