simulate_iota | R Documentation |
Simulate infection periods
simulate_iota(n, iota_dist, gamma, shape, lambda)
n |
number of infection periods to simulate |
iota_dist |
distribution of infection periods |
gamma |
parameter of the exponential distribution |
shape |
parameter of the weibull distribution |
lambda |
parameter of the weibull distribution |
vector of random infectious durations
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.