sim.plot: Plot output of simulated epidemic

View source: R/transdistfuncs.r

sim.plotR Documentation

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)

Arguments

sim

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

Value

A two-panel plotted object

Author(s)

John Giles, Justin Lessler, and Henrik Salje


IDSpatialStats documentation built on Sept. 11, 2024, 5:14 p.m.