addVoronoi {cholera}R Documentation

Add Voronoi cells.

Description

Add Voronoi cells.

Usage

addVoronoi(pump.select = NULL, vestry = FALSE, case.location = "nominal",
  color = "black", line.type = "solid", line.width = 1)

Arguments

pump.select

Numeric. Default is NULL; all pumps are used. Otherwise, selection by a vector of numeric IDs: 1 to 13 for pumps; 1 to 14 for pumps.vestry. Exclusion (negative selection) is possible (e.g., -6).

vestry

Logical. FALSE for original 13 pumps. TRUE for 14 pumps in Vestry Report.

case.location

Character. For observed = FALSE: "address" or "nominal". "nominal" is the x-y coordinates of regular.cases.

color

Character. Color of cell edges.

line.type

Character. Type of line for cell edges: lty.

line.width

Numeric. Width of cell edges: lwd.

Note

This function uses deldir::deldir().

Examples

snowMap()
addVoronoi()

[Package cholera version 0.7.5 Index]