EpiModel: Mathematical Modeling of Infectious Disease

Tools for simulating mathematical models of infectious disease. Epidemic model classes include deterministic compartmental models, stochastic agent-based models, and stochastic network models. Network models use the robust statistical methods of exponential-family random graph models (ERGMs) from the Statnet suite of software packages in R. Standard templates for epidemic modeling include SI, SIR, and SIS disease types. EpiModel features an easy API for extending these templates to address novel scientific research aims.

Install the latest version of this package by entering the following in R:
AuthorSamuel Jenness [cre, aut], Steven M. Goodreau [aut], Martina Morris [aut], Emily Beylerian [ctb], Skye Bender-deMoll [ctb], Kevin Weiss [ctb]
Date of publication2017-03-13 21:14:09
MaintainerSamuel Jenness <samuel.m.jenness@emory.edu>

View on CRAN

Man pages

as.data.frame.dcm: Extract Model Data for Deterministic Compartmental Models

as.data.frame.icm: Extract Model Data for Stochastic Models

as.network.transmat: Converts transmat infection tree into a network object

as.phylo.transmat: Convert transmat infection tree into a phylo object

bipvals: Vertex Attributes for Bipartite Network

births.icm: Births: icm Module

births.net: Births: netsim Module

brewer_ramp: RColorBrewer Color Ramp for EpiModel Plots

calc_eql: Calculate Equilibrium for Infection Prevalence

check_bip_degdist: Check Degree Distribution for Bipartite Target Statistics

color_tea: Creates a TEA Variable for Infection Status for 'ndtv'...

comp_plot: Plot Compartment Diagram for Epidemic Models

control.dcm: Control Settings for Deterministic Compartmental Models

control.icm: Control Settings for Stochastic Individual Contact Models

control.net: Control Settings for Stochastic Network Models

copy_toall_attr: Copies Vertex Attributes in Formation Formula to attr List

crosscheck.dcm: Cross Checking of Inputs for Deterministic Compartmental...

crosscheck.icm: Cross Checking of Inputs for Stochastic Individual Contact...

crosscheck.net: Cross Checking of Inputs for Stochastic Network Models

dcm: Deterministic Compartmental Models

dcm.mods: Deterministic Compartmental Model Functions

deaths.icm: Deaths: icm Module

deaths.net: Deaths: netsim Module

deleteAttr: Delete Elements from Attribute List

discord_edgelist: Discordant Edgelist from NetworkDynamic Object

dissolution_coefs: Dissolution Coefficients for Stochastic Network Models

edgelist_censor: Table of Edge Censoring

edgelist_meanage: Mean Age of Partnerships over Time

edges_correct: Adjustment for the Edges Coefficient with Changing Network...

EpiModel-package: Mathematical Modeling of Infectious Disease

epiweb: EpiModel Web

get_attr_prop: Proportional Table of Vertex Attributes

get_degree: Get Individual Degree from Network or Edgelist

get_formula_terms: Outputs Formula Terms into a Character Vector

get_network: Extract networkDynamic Object from Network Epidemic Model

get_nwparam: Extract Network Model Parameters

get_nwstats: Extract Network Statistics from Network Epidemic Model

get_prev.icm: Get Epidemic Output from icm Model

get_prev.net: Get Epidemic Output from netsim Model

get_sims: Extract Network Simulations

get_transmat: Extract Transmissions Matrix from Network Epidemic Model

icm: Stochastic Individual Contact Models

idmode: Mode Numbers for Bipartite Network

infection.icm: Primary Infection Module for icm

infection.net: Primary Infection Module for netsim

init.dcm: Initial Conditions for Deterministic Compartmental Models

initialize.icm: Initialization: icm Module

initialize.net: Initialization: netsim Module

init.icm: Initial Conditions for Stochastic Individual Contact Models

init.net: Initial Conditions for Stochastic Network Models

init_pids: Persistent ID Initialization

init_status.icm: Disease Status Initialization Module for icm

init_status.net: Disease Status Initialization Module for netsim

mcat: Write Out Test Progress to Console

merge.icm: Merge Data across Stochastic Individual Contact Model...

merge.netsim: Merge Model Simulations Across netsim Objects

modeids: ID Numbers for Bipartite Network

modules.icm: Modules for Stochastic Individual Contact Models

modules.net: Modules for Stochastic Network Models

mutate_epi: Add New Epidemiology Variables

netdx: Dynamic Network Model Diagnostics

netest: Dynamic Network Model Estimation

netsim: Stochastic Network Models

param.dcm: Epidemic Parameters for Deterministic Compartmental Models

param.icm: Epidemic Parameters for Stochastic Individual Contact Models

param.net: Epidemic Parameters for Stochastic Network Models

plot.dcm: Plot Data from a Deterministic Compartmental Epidemic Model

plot.icm: Plot Data from a Stochastic Individual Contact Epidemic Model

plot.netdx: Plot Dynamic Network Model Diagnostics

plot.netsim: Plot Data from a Stochastic Network Epidemic Model

plot.transmat: Plot transmat infection tree in one of several styles

recovery.icm: Recovery: icm Module

recovery.net: Recovery: netsim Module

resim_nets: Resimulate Dynamic Network at Time 2+

saveout.dcm: Save dcm Data to Output List Format

saveout.icm: Save icm Data to Output List Format

saveout.net: Save netsim Data to Output List Format

sim_nets: Simulate Dynamic Network at Time 1

split_bip: Update Attribute Values for a Bipartite Network

ssample: Stable Sampling Function

summary.dcm: Summary Model Statistics

summary.icm: Summary Model Statistics

summary.netest: Summary for Network Model Fit

summary.netsim: Summary Model Statistics

test_icm: Test the Model Output from a Stochastic Individual Contact...

test_net: Test the Model Output from a Network Model

transco: Obtain Transparent Colors

update_dissolution: Adjust Dissolution Component of Network Model Fit

update_nwattr: Updates Vertex Attributes for Incoming Vertices

verbose.dcm: Progress Print Module for Deterministic Compartmental Models

verbose.icm: Progress Print Module for Stochastic Individual Contact...

verbose.net: Progress Print Module for Stochastic Network Models


as.data.frame.dcm Man page
as.data.frame.icm Man page
as.data.frame.netsim Man page
as.network.transmat Man page
as.phylo.transmat Man page
bipvals Man page
births.icm Man page
births.net Man page
brewer_ramp Man page
calc_eql Man page
check_bip_degdist Man page
color_tea Man page
comp_plot Man page
comp_plot.dcm Man page
comp_plot.icm Man page
comp_plot.netsim Man page
control.dcm Man page
control.icm Man page
control.net Man page
copy_toall_attr Man page
crosscheck.dcm Man page
crosscheck.icm Man page
crosscheck.net Man page
dcm Man page
dcm.mods Man page
deaths.icm Man page
deaths.net Man page
deleteAttr Man page
discord_edgelist Man page
dissolution_coefs Man page
edgelist_censor Man page
edgelist_meanage Man page
edges_correct Man page
EpiModel Man page
EpiModel-package Man page
epiweb Man page
get_attr_prop Man page
get_degree Man page
get_formula_terms Man page
get_network Man page
get_nwparam Man page
get_nwstats Man page
get_prev.icm Man page
get_prev.net Man page
get_sims Man page
get_transmat Man page
icm Man page
idmode Man page
infection.icm Man page
infection.net Man page
init.dcm Man page
initialize.icm Man page
initialize.net Man page
init.icm Man page
init.net Man page
init_pids Man page
init_status.icm Man page
init_status.net Man page
is.transmat Man page
mcat Man page
merge.icm Man page
merge.netsim Man page
modeids Man page
mod_SI_1g_cl Man page
mod_SI_1g_op Man page
mod_SI_2g_cl Man page
mod_SI_2g_op Man page
mod_SIR_1g_cl Man page
mod_SIR_1g_op Man page
mod_SIR_2g_cl Man page
mod_SIR_2g_op Man page
mod_SIS_1g_cl Man page
mod_SIS_1g_op Man page
mod_SIS_2g_cl Man page
mod_SIS_2g_op Man page
modules.icm Man page
modules.net Man page
mutate_epi Man page
netdx Man page
netest Man page
netsim Man page
param.dcm Man page
param.icm Man page
param.net Man page
plot.dcm Man page
plot.icm Man page
plot.netdx Man page
plot.netsim Man page
plot.transmat Man page
recovery.icm Man page
recovery.net Man page
resim_nets Man page
saveout.dcm Man page
saveout.icm Man page
saveout.net Man page
sim_nets Man page
split_bip Man page
ssample Man page
summary.dcm Man page
summary.icm Man page
summary.netest Man page
summary.netsim Man page
test_icm Man page
test_net Man page
transco Man page
transmat Man page
update_dissolution Man page
update_nwattr Man page
verbose.dcm Man page
verbose.icm Man page
verbose.net Man page


inst/shiny/epidcm/ui.R inst/shiny/epidcm/server.R
inst/shiny/epiicm/ui.R inst/shiny/epiicm/server.R
inst/shiny/epinet/ui.R inst/shiny/epinet/server.R
tests/testthat/test-utils.R tests/testthat/test-shiny.R tests/testthat/test-mutate.R tests/testthat/test-newicm.R tests/testthat/test-icm-long.R tests/testthat/test-netvary.R tests/testthat/test-transmat-dendo.R tests/testthat/test-get.R tests/testthat/test-netoffset.R tests/testthat/test-netattr.R tests/testthat/test-merge.R tests/testthat/test-dcm-long.R tests/testthat/test-netsim-parallel.R tests/testthat/test-netest.R tests/testthat/test-dcm.R tests/testthat/test-newdcm.R tests/testthat/test-newnet.R tests/testthat/test-net-long.R tests/testthat/test-netrestart.R tests/testthat/test-print.R tests/testthat/test-netsim.R tests/testthat/test-dcm-dede.R tests/testthat/test-netpids.R tests/testthat/test-netdx.R tests/testthat/test-icm.R tests/test-all.R
R/saveout.R R/dcm.mods.R R/utils.R R/net.mod.simnet.R R/netest.R R/icm.mod.init.R R/print.r R/icm.mod.status.R R/plot.R R/param.R R/control.R R/net.mod.vital.R R/icm.mod.vital.R R/netdx.R R/modules.icm.R R/get.R R/dendo.R R/dcm.R R/netsim.R R/net.mod.status.R R/net.mod.init.R R/init.R R/shiny.R R/test.R R/icm.utils.R R/verbose.R R/crosscheck.R R/as.data.frame.R R/net.utils.R R/modules.net.R R/summary.R R/icm.R R/merge.R R/EpiModel-package.r R/net.mod.getprev.R
man/get_degree.Rd man/infection.icm.Rd man/get_prev.icm.Rd man/edgelist_censor.Rd man/bipvals.Rd man/plot.transmat.Rd man/crosscheck.icm.Rd man/mutate_epi.Rd man/get_attr_prop.Rd man/get_network.Rd man/initialize.icm.Rd man/check_bip_degdist.Rd man/saveout.net.Rd man/plot.netdx.Rd man/saveout.icm.Rd man/netdx.Rd man/init.icm.Rd man/color_tea.Rd man/saveout.dcm.Rd man/plot.dcm.Rd man/plot.netsim.Rd man/icm.Rd man/get_prev.net.Rd man/plot.icm.Rd man/get_formula_terms.Rd man/transco.Rd man/summary.dcm.Rd man/merge.netsim.Rd man/as.phylo.transmat.Rd man/discord_edgelist.Rd man/update_dissolution.Rd man/param.dcm.Rd man/deaths.net.Rd man/summary.netest.Rd man/births.net.Rd man/netsim.Rd man/init.dcm.Rd man/test_icm.Rd man/sim_nets.Rd man/init_status.net.Rd man/merge.icm.Rd man/modules.icm.Rd man/init_pids.Rd man/crosscheck.dcm.Rd man/verbose.net.Rd man/comp_plot.Rd man/resim_nets.Rd man/deaths.icm.Rd man/dcm.Rd man/births.icm.Rd man/as.data.frame.dcm.Rd man/brewer_ramp.Rd man/dissolution_coefs.Rd man/param.icm.Rd man/deleteAttr.Rd man/init_status.icm.Rd man/as.data.frame.icm.Rd man/modules.net.Rd man/get_transmat.Rd man/control.net.Rd man/epiweb.Rd man/split_bip.Rd man/get_sims.Rd man/calc_eql.Rd man/netest.Rd man/summary.icm.Rd man/modeids.Rd man/copy_toall_attr.Rd man/crosscheck.net.Rd man/control.icm.Rd man/summary.netsim.Rd man/control.dcm.Rd man/update_nwattr.Rd man/ssample.Rd man/EpiModel-package.Rd man/verbose.dcm.Rd man/recovery.net.Rd man/initialize.net.Rd man/edges_correct.Rd man/get_nwstats.Rd man/param.net.Rd man/idmode.Rd man/recovery.icm.Rd man/verbose.icm.Rd man/mcat.Rd man/dcm.mods.Rd man/as.network.transmat.Rd man/infection.net.Rd man/test_net.Rd man/edgelist_meanage.Rd man/get_nwparam.Rd man/init.net.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.