epimdr0.6-5 package

Functions and Data for "Epidemics: Models and Data in R"

BarabasiAlbert

Function to generate a Barabasi-Albert network

chainSIR

Gradient-function for the chain-SIR model

coyne

Gradient-function for Coyne et al's rabies model

flowField

Flowfield

gillespie

Gillespie exact algorithm

integrandpc

Auxillary function used by llik.pc

llik.cb

Negative log-likelihood function for the chain-binomial model

llik.pc

Function to estimate parameters for the picewise-constant catalytic mo...

May.app

Launch a shiny-app simulating May's Parasitoid-host Model model

NB

The Nicholson-Bailey model

NetworkSIR

Function to simulate an epidemic on a network

orv.app

Launch a shiny-app to study outbreak-response vaccination campaigns

plot.cm

Function to plot an object of class CM

plot.netSIR

Function to plot a netSIR object

r0fun

Function to calculate R0 from a contact matrix

retrospec

Function to predict efficacy of outbreak-response vaccination campaign

ringlattice

Function to generate a ring lattice

SEIR.app

Launch a shiny-app simulating the seasonal SEIR model

seirmod

Gradient-function for the SEIR model

seirmod2

Gradient-function for the forced SEIR model

SEIRS.app

Launch a shiny-app simulating the SEIRS model

sim.cb

Function to simulate the chain-binomial model

SimTsir

Function to simulate the stochastic TSIR

SimTsir2

Function to simulate the seasonally-forced TSIR

SIR.app

Launch a shiny-app simulating the SIR model

siragemod

Gradient-function for the age-structured SIR model with possibly heter...

sirmod

Gradient-function for the SIR model

sirwmod

Gradient-function for the SIRWS model

sivmod

Gradient-function for the SIR model with outbreak-response vaccination

summary.cm

Function to calculate the degree distribution for an object of class C...

summary.netSIR

Function to summarize a netSIR object

tau

Gillespie tau-leap algorithm

TSIR.app

Launch a shiny-app simulating TSIR model

TSIRllyap

Function to calculate the local Lyapunov exponents for the TSIR

TSIRlyap

Function to do Lyapunov exponent calculations from a TSIR simulation

WattsStrogatz

Function to generate a Watts-Strogats network

Functions, data sets and shiny apps for "Epidemics: Models and Data in R" by Ottar N. Bjornstad (ISBN 978-3-319-97487-3) <https://www.springer.com/gp/book/9783319974866>. The package contains functions to study the S(E)IR model, spatial and age-structured SIR models; time-series SIR and chain-binomial stochastic models; catalytic disease models; coupled map lattice models of spatial transmission and network models for social spread of infection. The package is also an advanced quantitative companion to the coursera Epidemics Massive Online Open Course <https://www.coursera.org/learn/epidemics>.

  • Maintainer: Ottar N. Bjornstad
  • License: GPL-3
  • Last published: 2020-01-25