Functions and Data for "Epidemics: Models and Data in R"
Function to generate a Barabasi-Albert network
Gradient-function for the chain-SIR model
Gradient-function for Coyne et al's rabies model
Flowfield
Gillespie exact algorithm
Auxillary function used by llik.pc
Negative log-likelihood function for the chain-binomial model
Function to estimate parameters for the picewise-constant catalytic mo...
Launch a shiny-app simulating May's Parasitoid-host Model model
The Nicholson-Bailey model
Function to simulate an epidemic on a network
Launch a shiny-app to study outbreak-response vaccination campaigns
Function to plot an object of class CM
Function to plot a netSIR object
Function to calculate R0 from a contact matrix
Function to predict efficacy of outbreak-response vaccination campaign
Function to generate a ring lattice
Launch a shiny-app simulating the seasonal SEIR model
Gradient-function for the SEIR model
Gradient-function for the forced SEIR model
Launch a shiny-app simulating the SEIRS model
Function to simulate the chain-binomial model
Function to simulate the stochastic TSIR
Function to simulate the seasonally-forced TSIR
Launch a shiny-app simulating the SIR model
Gradient-function for the age-structured SIR model with possibly heter...
Gradient-function for the SIR model
Gradient-function for the SIRWS model
Gradient-function for the SIR model with outbreak-response vaccination
Function to calculate the degree distribution for an object of class C...
Function to summarize a netSIR object
Gillespie tau-leap algorithm
Launch a shiny-app simulating TSIR model
Function to calculate the local Lyapunov exponents for the TSIR
Function to do Lyapunov exponent calculations from a TSIR simulation
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>.
Useful links