Skip to content

Commit e5fac0a

Browse files
committed
fix prereq
1 parent ae5b8a2 commit e5fac0a

1 file changed

Lines changed: 17 additions & 5 deletions

File tree

episodes/simulating-transmission.Rmd

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,11 @@ exercises: 30 # exercise time in minutes
55
---
66

77
```{r setup, echo= FALSE, message = FALSE, warning = FALSE}
8-
library(ggplot2)
9-
library(dplyr)
10-
library(tidyverse)
118
library(DiagrammeR)
129
library(webshot)
13-
library(epidemics)
1410
webshot::install_phantomjs(force = TRUE)
1511
```
1612

17-
1813
:::::::::::::::::::::::::::::::::::::: questions
1914

2015
- How do I simulate disease spread using a mathematical model?
@@ -34,14 +29,31 @@ webshot::install_phantomjs(force = TRUE)
3429

3530
::::::::::::::::::::::::::::::::::::: prereq
3631

32+
+ Complete tutorial on [Contact matrices](../episodes/contact-matrices.md).
33+
3734
Learners should familiarise themselves with following concept dependencies before working through this tutorial:
3835

3936
**Mathematical Modelling** : [Introduction to infectious disease models](https://doi.org/10.1038/s41592-020-0856-2), [state variables](../learners/reference.md#state), [model parameters](../learners/reference.md#parsode), [initial conditions](../learners/reference.md#initial), [differential equations](../learners/reference.md#ordinary).
4037

4138
**Epidemic theory** : [Transmission](https://doi.org/10.1155/2011/267049), [Reproduction number](https://doi.org/10.3201/eid2501.171901).
39+
40+
**R packages installed**: `{epidemics}`, `{socialmixr}`, `{tidyverse}`.
41+
4242
:::::::::::::::::::::::::::::::::
4343

44+
:::::::::: spoiler
4445

46+
Install packages if their are not already installed
47+
48+
```{r, eval = FALSE}
49+
if(!require("pak")) install.packages("pak")
50+
pak::pak(c("epidemics", "socialmixr", "tidyverse"))
51+
```
52+
53+
If you have any error message,
54+
go to the [main setup page](../learners/setup.md#software-setup).
55+
56+
::::::::::
4557

4658
## Introduction
4759

0 commit comments

Comments
 (0)