Skip to content

Commit f4db496

Browse files
committed
fix argument name
1 parent 7fef685 commit f4db496

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

episodes/superspreading-simulate.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,9 +336,9 @@ In the lines above, we described how to specify the offspring distribution and g
336336

337337
### Stopping criteria
338338

339-
This is an customisable feature of `{epichains}`. By default, branching process simulations end when they have gone extinct. For long-lasting transmission chains, in `simulate_chains()` you can add the `stat_max` argument.
339+
This is an customisable feature of `{epichains}`. By default, branching process simulations end when they have gone extinct. For long-lasting transmission chains, in `simulate_chains()` you can add the `stat_threshold` argument.
340340

341-
For example, if we set an stopping criteria for `statistic = "size"` of `stat_max = 500`, no more offspring will be produced after a chain of size 500.
341+
For example, if we set an stopping criteria for `statistic = "size"` of `stat_threshold = 500`, no more offspring will be produced after a chain of size 500.
342342

343343
:::::::::::::::::::::::::::
344344

0 commit comments

Comments
 (0)