Description Usage Arguments Value Author(s) Examples
Negative binomial branching process model
1 2 3 4 5 6 7 8 9 10 11 12 13 |
n |
Numeric, number of initial cases |
n_length |
Numeric, the number of days in the initial seeding event |
mean_si |
Numeric, the mean of the serial interval |
sd_si |
Numeric, the sd of the serial interval |
serial_fn |
Function from which to sample the serial interval must accepted a number of samples argument followed by a mean and standard deviation. If missing defaults to a normal distribution. |
R0 |
Numeric, the estimated reproduction number |
k |
Numeric, the dispersion of the negative binomial branching process |
tf |
Numeric, the end time of the branching process |
kept_times |
Numeric, a vector of timepoints to keep information on. Defaults to all time points |
max_potential_cases |
Numeric, the maximum number of cases |
delay_sample |
A function to sample from reporting delays |
A dataframe containing the simulation time and outbreak size
Sebastian Funk, Sam Abbott, James Munday
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.