idmodelr0.4.0 package

Infectious Disease Model Library and Utilities

add_pointer_struct

Adds Pointer Structure to R objects

aggregate_model

A Function to Apply Multiple Aggregations to Model Output

aggregate_model_internal

An Internal Function to Aggregate Model Output Using other Idmodelr fu...

combine_strat_model_output

Reduces the Dimensionality of a Stratified Model

combine_to_age_model

Combine an Infectious Disease Model To a Demographic Model

estimate_norm_dist_from_ci

A Function to Estimate a Normal Distribution from Credible or Confiden...

gather_strat_multi_variable

A Function to Gather Multiple Stratified Variables into a Tidy Format

gather_strat_variable

A Function to Gather a Stratified Variable into a Tidy Format

generate_parameter_permutations

A Function to Generate Parameter Permutations

idmodelr-package

idmodelr: Infectious Disease Model Library and Utilities

model_df_to_vector

Extracts a Single Column, Summarises if from Simulation

plot_model

Plot Compartment Populations over Time for a Model Simulation

required_parameters

Lookup the Details of Parameters Required by a Model

scenario_analysis

A Function to Perform Scenario Analysis for a Generic Model Object.

SEI_demographics_ode

Susceptible-Exposed-Infected Model with Simple Demographics

SEI_ode

Susceptible-Exposed-Infected Model

SEIR_demographics_ode

Susceptible-Exposed-Infected-Recovered Model with Simple Demographics

SEIR_ode

Susceptible-Exposed-Infected-Recovered Model

SEIRS_demographics_ode

Susceptible-Exposed-Infected-Recovered-Susceptible Model with Simple D...

SEIRS_ode

Susceptible-Exposed-Infected-Recovered-Susceptible Model

SEIS_demographics_ode

Susceptible-Exposed-Infected-Susceptible Model with Simple Demographic...

SEIS_ode

Susceptible-Exposed-Infected-Susceptible Model

SHLIR_demographics_ode

Susceptible-High-risk-latent-Low-risk-latent-Infected-Recovered Model ...

SHLIR_ode

Susceptible-High-risk-latent-Low-risk-latent-Infected-Recovered Model

SHLITR_demographics_ode

Susceptible-High-risk-latent-Low-risk-latent-Infected-Treated-Recovere...

SHLITR_ode

Susceptible-High-risk-latent-Low-risk-latent-Infected-Treated-Recovere...

SHLITR_risk_demographics_ode

Susceptible-High-risk-latent-Low-risk-latent-Infected-Treated-Recovere...

SHLITR_risk_ode

Susceptible-High-risk-latent-Low-risk-latent-Infected-Treated-Recovere...

SI_demographics_ode

Susceptible-Infected Model with Simple Demographics

SI_ode

Susceptible-Infected Model

simulate_model

A Function to Simulate a Model from a Generic Simulation Function, wit...

SIR_demographics_ode

Susceptible-Infected-Recovered Model with Simple Demographics

SIR_ode

Susceptible-Infected-Recovered Model

SIR_vaccination_demographics_ode

Susceptible-Infected-Recovered Model with Simple Demographics and Vacc...

SIR_vaccination_ode

Susceptible-Infected-Recovered Model with Vaccination

SIRS_demographics_ode

Susceptible-Infected-Recovered-Susceptible Model with Simple Demograph...

SIRS_ode

Susceptible-Infected-Recovered-Susceptible Model

SIRS_vaccination_demographics_ode

Susceptible-Infected-Recovered-Susceptible Model with Simple Demograph...

SIRS_vaccination_ode

Susceptible-Infected-Recovered-Susceptible Model with Vaccination

SIS_demographics_ode

Susceptible-Infected-Susceptible Model with Simple Demographics

SIS_ode

Susceptible-Infected-Susceptible Model

solve_ode

A Simple Wrapper for lsoda

summarise_model

Summarise a Model Simulation

summarise_strat_var

Sum a Stratified Variable

summarise_var_by_strat

Sum a Stratified Variable by Stratification Level

Explore a range of infectious disease models in a consistent framework. The primary aim of 'idmodelr' is to provide a library of infectious disease models for researchers, students, and other interested individuals. These models can be used to understand the underlying dynamics and as a reference point when developing models for research. 'idmodelr' also provides a range of utilities. These include: plotting functionality; a simulation wrapper; scenario analysis tooling; an interactive dashboard; tools for handling mult-dimensional models; and both model and parameter look up tables. Unlike other modelling packages such as 'pomp' (<https://kingaa.github.io/pomp/>), 'libbi' (<http://libbi.org>) and 'EpiModel' (<http://www.epimodel.org>), 'idmodelr' serves primarily as an educational resource. It is most comparable to epirecipes (<http://epirecip.es/epicookbook/chapters/simple>) but provides a more consistent framework, an R based workflow, and additional utility tooling. After users have explored model dynamics with 'idmodelr' they may then implement their model using one of these packages in order to utilise the model fitting tools they provide. For newer modellers, this package reduces the barrier to entry by containing multiple infectious disease models, providing a consistent framework for simulation and visualisation, and signposting towards other, more research focussed, resources.

  • Maintainer: Sam Abbott
  • License: GPL-3
  • Last published: 2022-09-02