Learn R Programming

IDSpatialStats (version 0.4.0)

sim.plot: Plot output of simulated epidemic

Description

A simple visualization function which plots the location of the index case and the spatial distribution of subsequent cases, and the epidemic curve showing the case count over time.

Usage

sim.plot(sim)

Value

A two-panel plotted object

Arguments

sim

a three-column matrix object produced by the sim.epidemic function

Author

John Giles, Justin Lessler, and Henrik Salje