View source: R/General_Epidemic_Simulation.R
time_to_next_event Draws the time to next event in the Infectious Disease process
1 | time_to_next_event(rates, population, dist = "Exp")
|
rates |
Holds information about the rates ate which each individual transition between each state |
population |
Holds information about what state each individual in the population is in |
dist |
What distribution does the time_to_next_event follow (Exponential for a First Order Markov Process) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.