neighborhoodEuclidean: Plot Euclidean path pump neighborhoods.
Description
Plots star graph from pump to its cases.
Usage
neighborhoodEuclidean(pump.subset = NULL, pump.select = NULL,
vestry = FALSE, case.set = "observed", multi.core = FALSE)
Arguments
pump.subset
Numeric. Vector of numeric pump IDs to subset from the neighborhoods defined by pump.select. Negative selection possible. NULL selects all pumps in pump.select.
pump.select
Numeric. Vector of numeric pump IDs to define pump neighborhoods (i.e., the "population"). Negative selection possible. NULL selects all pumps.
vestry
Logical. TRUE uses the 14 pumps from the Vestry Report. FALSE uses the 13 in the original map.
case.set
Character. "observed" or "expected".
multi.core
Logical or Numeric. TRUE uses parallel::detectCores(). FALSE uses one, single core. You can also specify the number logical cores. On Windows, only multi.core = FALSE is available.
Examples
Run this code# NOT RUN {
neighborhoodEuclidean()
neighborhoodEuclidean(-6)
neighborhoodEuclidean(pump.select = 6:7)
# }
Run the code above in your browser using DataLab