heterogeneousSIR_Gillespie: Possible states and their respective logical representations....

Description Usage

View source: R/simplified_gillespies.R

Description

Possible states and their respective logical representations. 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 Which event happens? event = sample(c(1,2), size = 1, prob = c(infectionRate, removalRate)) To who? Construct rate vector Update Population State Update Individual State Record event

Usage

1

JMacDonaldPhD/Epidemics documentation built on Jan. 10, 2020, 2:48 a.m.