addVoronoi: Add Voronoi cells.

View source: R/addVoronoi.R

addVoronoiR 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,
  latlong = FALSE)

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.

latlong

Logical. Use estimated longitude and latitude.

Note

This function uses deldir::deldir().

Examples

snowMap()
# addVoronoi()

lindbrook/cholera documentation built on April 14, 2024, 6:29 a.m.