epimdr21.0-9 package

Functions and Data for "Epidemics: Models and Data in R (2nd Edition)"

barabasiAlbert

Function to generate a Barabasi-Albert network

coyne

Edition 1 Gradient-function for Coyne et al's rabies model

coyne2

Edition 2 Gradient-function for Coyne et al's rabies model

gillespie

Gillespie exact algorithm

gravity

A function to calculate the matrix of gravity coupling based on distan...

gypsymoth

Defoliated by gypsy moth each in northeast US 1975-2002.

integrandpc

Auxiliary function used by llik.pc

jacobian

A Jacobian matrix calculator

leslie

A function to calculate asymptotic growth, sensitivity and elasticity ...

llik.cb

Negative log-likelihood function for the chain-binomial model

llik.pc

Function to estimate parameters for the piecewise-constant catalytic m...

may.app

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

nbmod

The Nicholson-Bailey model

nbspat.app

Launch a shiny-app simulating the spatially-extended Nicholson-Bailey ...

nextgenR0

Next generation matrix R0 calculator

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

ross.app

Launch a shiny-app simulating a Ross-Macdonald model

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

sir.app

Launch a shiny-app simulating the SIR model

sirAgemod

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

sirChainmod

Gradient-function for the chain-SIR model

sirmod

Gradient-function for the SIR model

sirNetmod

Function to simulate an epidemic on a network

sirSpatmod

Gradient function for a spatially-extended SIR model

sirvmod

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

sirwmod

Gradient-function for the SIRWS model

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

tsirSim

Function to simulate the stochastic TSIR

tsirSim2

Function to simulate the seasonally-forced TSIR

tsirSpat

Function to simulate the spatially-extended seasonally-forced TSIR

twostrain.app

Launch a shiny-app simulating a two-strain SIR model

twostrain

Gradient-function for the two-strain SIR model

wattsStrogatz

Function to generate a Watts-Strogatz network

Functions, data sets and shiny apps for "Epidemics: Models and Data in R (2nd edition)" by Ottar N. Bjornstad (2022, ISBN: 978-3-031-12055-8) <https://link.springer.com/book/10.1007/978-3-319-97487-3>. The package contains functions to study the Susceptible-Exposed-Infected-Removed SEIR model, spatial and age-structured Susceptible-Infected-Removed 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: 2022-12-15