Description Usage Arguments Value Author(s)
Returns a matrix (that's how I first did it), so modify at some point to return dataframe.
1 | h_nr_simulate(num_cases = 100, k = 2, lambda = 9, N = 30, seed = 42)
|
num_cases |
how many cases to simulate |
k |
shape parameter of Weibull delay function |
lambda |
scale parameter of Weibull delay function |
N |
maximum day of reporting, days start at 0 |
seed |
seed for random number generator |
h_nr matrix of number of cases, with h_nr[n+1, r+1]
corresponding to
h_nr
(since n
and r
start at 0)
Andrew Edwards
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.