Description Usage Arguments Author(s) Examples
Run a specified number of simulations with identical parameters
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
n.sim |
number of simulations to run |
prop.ascertain |
Probability that cases are ascertained by contact tracing |
cap_max_days |
Maximum number of days to run process for |
cap_cases |
Maximum number of cases to run process for |
r0isolated |
basic reproduction number for isolated cases |
r0community |
basic reproduction number for non-isolated cases |
disp.iso |
dispersion parameter for negative binomial distribution for isolated cases |
disp.com |
dispersion parameter for negative binomial distribution for non-isolated cases |
delay_shape |
shape of distribution for delay between symptom onset and isolation |
delay_scale |
scale of distribution for delay between symptom onset and isolation |
num.initial.cases |
Initial number of cases in each initial cluster |
num.initial.clusters |
Number of initial clusters |
Joel Hellewell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
res <- scenario_sim(n.sim = 5,
num.initial.cases = 5,
cap_max_days = 365,
cap_cases = 2000,
r0isolated = 0,
r0community = 2.5,
disp.iso = 1,
disp.com = 0.16,
k = 0.7,
delay_shape = 2.5,
delay_scale = 5,
prop.asym = 0,
prop.ascertain = 0)
#'
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.