SIR_Gillespie: SIR_Gillespie function

Description Usage

View source: R/SIR_Gillespie.R

Description

Takes parameters for an SIR Infectious Process and returns either an event table or panel data Initial State, a vector of length N stating who is which infectious state and the current time. Track specific people Infection Matrix Last and unused panels

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
SIR_Gillespie(
  N,
  initial_state = "start",
  beta,
  gamma,
  trans = possible_transitions(1:3),
  obs_end = Inf,
  kernel = NULL,
  U,
  E,
  output = "event",
  obs_times = NULL
)

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