View source: R/simplified_gillespies.R
Summarise in matrix Initial state of each individual Initial state of epidemic at population level Possible Events Summarise in a matrix event table Waiting Time Panel Data Convert individualStates into panelData Update Population State Update Individual State Filling in Observation times not passed Convert individualStates into panelData
1 | homogeneousPanelDataSIR_GillespieEU(initialState, beta, gamma, obsTimes, E, U)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.