cholera (version 0.2.1)

addVoronoi: Add Voronoi cells.

Description

Computes and draws Voronoi cells using deldir::deldir().

Usage

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

Arguments

pump.select

Numeric. Default is NULL and all pumps are used. Otherwise, selection by a vector of numeric IDs: 1 to 13 for pumps; 1 to 14 for pumps.vestry.

vestry

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

color

Character. Color of borders.

line.type

Character. Type of line for borders.

...

Additional plotting parameters.

See Also

snowMap, addKernelDensity, addLandmarks, addPlaguePit, addSnow, addWhitehead

Examples

Run this code
# NOT RUN {
snowMap(add.landmarks = FALSE)
addVoronoi()
# }

Run the code above in your browser using DataLab