Learn R Programming

shinySIR (version 0.1.2)

Interactive Plotting for Mathematical Models of Infectious Disease Spread

Description

Provides interactive plotting for mathematical models of infectious disease spread. Users can choose from a variety of common built-in ordinary differential equation (ODE) models (such as the SIR, SIRS, and SIS models), or create their own. This latter flexibility allows 'shinySIR' to be applied to simple ODEs from any discipline. The package is a useful teaching tool as students can visualize how changing different parameters can impact model dynamics, with minimal knowledge of coding in R. The built-in models are inspired by those featured in Keeling and Rohani (2008) and Bjornstad (2018) .

Copy Link

Version

Install

install.packages('shinySIR')

Monthly Downloads

264

Version

0.1.2

License

MIT + file LICENSE

Maintainer

Sinead E. Morris

Last Published

October 18th, 2020

Functions in shinySIR (0.1.2)

SIS

SIS model
SIRbirths

SIR model with demography
SIRSbirths

SIRS model with demography
SIR

SIR model
get_name

Get model display names
plot_model

Plot model output. This function plots the output of a fitted model data frame.
seirs.app

Launch a shiny-app simulating the SEIRS model
get_ics

Get default initial conditions
run_shiny

Solve equations
seir.app

Launch a shiny-app simulating the seasonal SEIR model
solve_eqns

Solve equations
get_params

Get default parameters
SIRvaccination

SIR model with vaccination at birth
SISbirths

SIS model with demography
SIRS

SIRS model
default_models

Model help
SIRSvaccination

SIRS model with vaccination at birth