SimTsir: Function to simulate the stochastic TSIR

Description Usage Arguments Value Examples

View source: R/rfuncs.R

Description

Function to simulate the stochastic TSIR assuming stochasticity in transmission and a Poisson birth-death process

Usage

1
2
SimTsir(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 infecteds

IT

the length of simulation

N

the population size

Value

A list with time series of simulated infected and susceptible hosts

Examples

1
out = SimTsir()

epimdr documentation built on March 26, 2020, 7:41 p.m.

Related to SimTsir in epimdr...