neighborhoodEuclidean | R Documentation |
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 = TRUE,
dev.mode = FALSE)
pump.select |
Numeric. Vector of numeric pump IDs to define pump neighborhoods (i.e., the "population"). Negative selection possible. |
vestry |
Logical. |
case.set |
Character. "observed" or "expected". |
case.select |
Character. Fatalities: "all" or "address". |
latlong |
Logical. Longitude and latitude coordinates |
location |
Character. "nominal", "anchor" or "orthogonal". |
brute.force |
Logical. For latlong = FALSE. TRUE computes nearest pump for each case. FALSE uses Voronoi cells as shortcut. |
multi.core |
Logical or Numeric. |
dev.mode |
Logical. Development mode uses parallel::parLapply(). |
An R list.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.