Learn R Programming

cholera (version 0.5.1)

addVoronoi: Add Voronoi cells.

Description

Add Voronoi cells.

Usage

addVoronoi(pump.select = NULL, vestry = FALSE, color = "black",
  line.type = "solid", ...)

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.

color

Character. Color of cell edges.

line.type

Character. Type of line for cell edges.

...

Additional plotting parameters.

See Also

snowMap, addIndexCase, addKernelDensity, addLandmarks, addPlaguePit, addSnow, addWhitehead

Examples

Run this code
# NOT RUN {
snowMap()
addVoronoi()
# }

Run the code above in your browser using DataLab