Skip to content

Commit 2090f55

Browse files
committed
add install box
1 parent 4026388 commit 2090f55

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

episodes/superspreading-estimate.Rmd

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,34 @@ webshot::install_phantomjs(force = TRUE)
2727

2828
::::::::::::::::::::::::::::::::::::: prereq
2929

30-
## Prerequisites
31-
3230
Learners should familiarise themselves with following concept dependencies before working through this tutorial:
3331

3432
**Statistics**: common probability distributions, particularly Poisson and negative binomial.
3533

3634
**Epidemic theory**: The reproduction number, R.
3735

36+
**R packages installed**: `{epicontacts}`, `{fitdistrplus}`, `{superspreading}`, `{outbreaks}`, `{tidyverse}`.
37+
3838
:::::::::::::::::::::::::::::::::
3939

40+
:::::::::: spoiler
41+
42+
Install packages if their are not already installed
43+
44+
```{r, eval = FALSE}
45+
# if {pak} is not installed, run: install.packages("pak")
46+
pak::pak("epicontacts")
47+
pak::pak("fitdistrplus")
48+
pak::pak("superspreading")
49+
pak::pak("outbreaks")
50+
pak::pak("tidyverse")
51+
```
52+
53+
If you have any error message,
54+
go to the [main setup page](../learners/setup.md#software-setup).
55+
56+
::::::::::
57+
4058
## Introduction
4159

4260
<!-- we know -->

0 commit comments

Comments
 (0)