Learn R Programming

epimdr (version 0.6-5)

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

Description

Functions, data sets and shiny apps for "Epidemics: Models and Data in R" by Ottar N. Bjornstad (ISBN 978-3-319-97487-3) . 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 .

Copy Link

Version

Install

install.packages('epimdr')

Monthly Downloads

298

Version

0.6-5

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Ottar Bjornstad

Last Published

January 25th, 2020

Functions in epimdr (0.6-5)

BarabasiAlbert

Function to generate a Barabasi-Albert network
gillespie

Gillespie exact algorithm
burnett

Burnett's Parasitoid-Host data.
Icelandflu

Monthly incidence of influenza-like illness in Iceland between 1980 and 2009.
ccs

UK measles CCS data.
WattsStrogatz

Function to generate a Watts-Strogats network
black

Black's measles seroprevalence data.
SH9

Daily measures of malaria infected mice.
flowField

Flowfield
SEIRS.app

Launch a shiny-app simulating the SEIRS model
SimTsir

Function to simulate the stochastic TSIR
TSIRllyap

Function to calculate the local Lyapunov exponents for the TSIR
TSIRlyap

Function to do Lyapunov exponent calculations from a TSIR simulation
flu

Boarding school influenza data.
gm

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

Launch a shiny-app simulating the SIR model
SimTsir2

Function to simulate the seasonally-forced TSIR
gonnet

De et al. 2004 gonorrhea contact matrix
NB

The Nicholson-Bailey model
sim.cb

Function to simulate the chain-binomial model
pertcop

Weekly whooping cough incidence from 1900-1937 in Copenhagen, Denmark.
gra

Euthamia graminifolia rust data.
peru

Rubella in Peru data.
ebola

Sierra-Leone Ebola 2015 data.
May.app

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

Gradient-function for Coyne et al's rabies model
ferrari

Ferrari et al. 2005 outbreak data.
siragemod

Gradient-function for the age-structured SIR model with possibly heterogeneous mixing
mossong

POLYMOD contact-rate data by Age.
integrandpc

Auxillary function used by llik.pc
tyscarlet

Weekly incidence of scarlet fever in Philadelphia between 1914 and 1947.
llik.cb

Negative log-likelihood function for the chain-binomial model
plot.cm

Function to plot an object of class CM
plot.netSIR

Function to plot a netSIR object
llik.pc

Function to estimate parameters for the picewise-constant catalytic model
niamey

Weekly measles incidence from 2003-04 in Niamey, Niger.
retrospec

Function to predict efficacy of outbreak-response vaccination campaign
rabies

Raccoon rabies data.
TSIR.app

Launch a shiny-app simulating TSIR model
NetworkSIR

Function to simulate an epidemic on a network
r0fun

Function to calculate R0 from a contact matrix
dalziel

Measles incidence across 40 US cities
sivmod

Gradient-function for the SIR model with outbreak-response vaccination
summary.cm

Function to calculate the degree distribution for an object of class CM
litter

Bordetella bronchiseptica in rabbit kittens.
tywhooping

Weekly incidence of whooping cough in Philadelphia between 1925 and 1947.
sirmod

Gradient-function for the SIR model
pagiard

Weekly incidence of giardia in Pennsylvania between 2006 and 2014.
paili

Weekly deaths from Influenza-like illness in Pennsylvania between 1972 and 1998.
rabbit

Rabbit Bordetella brochiseptica data.
SEIR.app

Launch a shiny-app simulating the seasonal SEIR model
palymes

Weekly incidence of Lymes disease in Pennsylvania between 2006 and 2014.
sirwmod

Gradient-function for the SIRWS model
pameasle

Weekly incidence of measles in Pennsylvania between 1928 and 1969.
chainSIR

Gradient-function for the chain-SIR model
cholera

Dacca cholera death data.
filipendula

Filipendula rust data.
fiv

FIV infection in cats.
seirmod2

Gradient-function for the forced SEIR model
silene2

Antler smut on wild campion.
magono

Massachusetts gonorrhea data.
tymeasles

Weekly incidence of measles in Philadelphia between 1914 and 1947.
tydiphtheria

Weekly incidence of diphtheria in Philadelphia between 1914 and 1947.
usflu

US 1975/76 ILI data.
meas

Bi-weekly measles incidence in London from 1944-65.
seirmod

Gradient-function for the SEIR model
tau

Gillespie tau-leap algorithm
orv.app

Launch a shiny-app to study outbreak-response vaccination campaigns
summary.netSIR

Function to summarize a netSIR object
ringlattice

Function to generate a ring lattice
niamey_daily

Day of appearance of each measles case from 2003-04 outbreak in Niamey, Niger.