flumodels | R Documentation |
Provides several compartmental models for influenza that enable the consideration of various mitigation strategies including vaccines and antiviral drugs.
Package: | flumodels |
Type: | Package |
Version: | 1.0.6 |
Date: | 2015-05-10 |
License: | BSD-2-Clause |
Jason Asher jason.m.asher@gmail.com
model <- SEIRModel(R0 = 1.3, latentPeriod = 1.5, infectiousPeriod = 2.5, seedInfections = 0.0001 * 310e6, population = 310e6) plot(model) model2 <- SEIRModel(R0 = 1.3, latentPeriod = 1.5, infectiousPeriod = 2.5, seedInfections = 0.0001 * 310e6, population = 310e6, populationFractions = c(0.25, 0.75), contactMatrix = matrix(c(18, 3, 9, 12), ncol=2, byrow = TRUE)) plot(model2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.