epicurve: Epidemic curves

Description Usage Arguments

Description

Produces graphs of various epidemic curves

Usage

1
epicurve (type, plottype, inftime, removaltime = NULL, tmin = NULL, timepoints = NULL)

Arguments

type

Type of compartment framework, with the choice of "SI" for Susceptible-Infectious diseases and "SIR" for Susceptible-Infectious-Removed

plottype

Plot type to be plotted, with the following choices: "complete" for plotting the number of susceptible, infected and removed individuals at each time point, "susceptible" for plotting the number of susceptible individuals at each time point, "newinfect" for plotting the number of newly infected individuals at each time point, and "totalinfect" for plotting the cumulative number of infected individuals at each time point

inftime

Times at which individuals become infected/infectious

removaltime

Time points where the individual is removed

tmin

Initial time point at which infection occurs, default value is one

timepoints

Specify time points at which the curve is plotted


EpiILM documentation built on May 2, 2019, 12:20 p.m.