Skip to content

Commit 842be9b

Browse files
avallecamBisaloo
authored andcommitted
add seed for stable outputs
1 parent 17aaf89 commit 842be9b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

episodes/compare-interventions.Rmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ exercises: 30 # exercise time in minutes
99
webshot::install_phantomjs(force = TRUE)
1010
library(epidemics)
1111
12+
# hidden seed for stable stochastic output in lesson
13+
set.seed(33)
14+
1215
polymod <- socialmixr::polymod
1316
contact_data <- socialmixr::contact_matrix(
1417
polymod,

0 commit comments

Comments
 (0)