Plots star graph from pump to its cases.
neighborhoodEuclidean(pump.select = NULL, vestry = FALSE,
case.set = "observed", case.select = "address", latlong = FALSE,
location = "nominal", brute.force = FALSE, multi.core = FALSE,
dev.mode = FALSE)
An R list.
Numeric. Vector of numeric pump IDs to define pump neighborhoods (i.e., the "population"). Negative selection possible. NULL
selects all pumps.
Logical. TRUE
uses the 14 pumps from the Vestry Report. FALSE
uses the 13 in the original map.
Character. "observed" or "expected".
Character. Fatalities: "all" or "address".
Logical. Longitude and latitude coordinates
Character. "nominal", "anchor" or "orthogonal".
Logical. For latlong = FALSE. TRUE computes nearest pump for each case. FALSE uses Voronoi cells as shortcut.
Logical or Numeric. TRUE
uses parallel::detectCores()
. FALSE
uses one, single core. You can also specify the number logical cores. See vignette("Parallelization")
for details.
Logical. Development mode uses parallel::parLapply().