Skip to content

Commit da78587

Browse files
committed
add summary to assessment
1 parent cf16cca commit da78587

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

episodes/superspreading-simulate.Rmd

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -967,7 +967,8 @@ Using the data under the **hint** tab:
967967

968968
- Estimate the offspring distribution from the distribution of secondary cases.
969969
- Then estimate the large outbreak potential from this data, simulating 100 runs with one initial case.
970-
- Reproduce Figure (B) from [Christian Althaus, 2015](https://www.thelancet.com/journals/laninf/article/PIIS1473-3099(15)70135-0/fulltext) from the simulation output.
970+
- Print the summary of the simulation to count the number of chains of size that reach to more than 100 infected cases.
971+
- Optional: Reproduce Figure (B) from [Christian Althaus, 2015](https://www.thelancet.com/journals/laninf/article/PIIS1473-3099(15)70135-0/fulltext) from the simulation output.
971972

972973
For reproducible results use `set.seed(645)`.
973974

@@ -1032,6 +1033,10 @@ sim_multiple_chains <- epichains::simulate_chains(
10321033
generation_time = function(x) generate(x = ebola_serialinter, times = x)
10331034
)
10341035
1036+
# summarise ----------------------------------------
1037+
1038+
summary(sim_multiple_chains)
1039+
10351040
# visualize ----------------------------------------
10361041
10371042
sim_chains_aggregate <-

0 commit comments

Comments
 (0)