neighborhoodEuclidean {cholera} | R Documentation |
Compute Euclidean path pump neighborhoods.
Description
Plots star graph from pump to its cases.
Usage
neighborhoodEuclidean(pump.select = NULL, vestry = FALSE,
case.location = "nominal", case.set = "observed", multi.core = TRUE,
dev.mode = FALSE)
Arguments
pump.select |
Numeric. Vector of numeric pump IDs to define pump neighborhoods (i.e., the "population"). Negative selection possible. |
vestry |
Logical. |
case.location |
Character. "address" or "nominal". For |
case.set |
Character. "observed" or "expected". |
multi.core |
Logical or Numeric. |
dev.mode |
Logical. Development mode uses parallel::parLapply(). |
Value
An R vector.
Examples
## Not run:
neighborhoodEuclidean()
neighborhoodEuclidean(-6)
neighborhoodEuclidean(pump.select = 6:7)
## End(Not run)