Learn R Programming

EpiModel (version 0.95)

plot.conc.microsim: Plot Values from a Concurrency Microsimulation Model

Description

This function plots values from an the concurrency microsimulation epidemic model simulated with conc.microsim.

Usage

## S3 method for class 'conc.microsim':
plot(x, xlim, ylim, alpha = 1, ...)

Arguments

x
an EpiModel object of class conc.microsim.
xlim
x-axis scale limits for plot, with default calculated based on model time steps.
ylim
y-axis scale limits for plot, with default calculated based on range of data.
alpha
transparency level for simulation lines, where 0 = transparent and 1 = opaque (see transco).
...
additional arguments to pass to main plot (see plot.default).

Details

This function will extract the simulated values output values from an conc.microsim model and plot relevant time series data of disease prevalence and other results. Currently, the plot function is limited to individual simulation lines of disease prevalence; future releases will standardize the plotting options to those available with epiICM class models.