tsirSim {epimdr2} | R Documentation |
Function to simulate the stochastic TSIR
Description
Function to simulate the stochastic TSIR assuming stochasticity in transmission and a Poisson birth-death process
Usage
tsirSim(
alpha = 0.97,
B = 2300,
beta = 25,
sdbeta = 0,
S0 = 0.06,
I0 = 180,
IT = 520,
N = 3300000
)
Arguments
alpha |
the exponent on I |
B |
the birth rate |
beta |
the transmission rate |
sdbeta |
the standard deviation on beta |
S0 |
the initial susceptible fraction |
I0 |
the initial number of infected |
IT |
the length of simulation |
N |
the population size |
Value
A list with time series of simulated infected and susceptible hosts
Examples
out = tsirSim()
[Package epimdr2 version 1.0-9 Index]