latlongNeighborhoodWalking: Compute walking path pump neighborhoods.

View source: R/latlongNeighborhoodWalking.R

latlongNeighborhoodWalkingR Documentation

Compute walking path pump neighborhoods.

Description

Group cases into neighborhoods based on walking distance.

Usage

latlongNeighborhoodWalking(pump.select = NULL, vestry = FALSE,
  multi.core = TRUE)

Arguments

pump.select

Numeric. Vector of numeric pump IDs to define pump neighborhoods (i.e., the "population"). Negative selection possible. NULL selects all pumps. Note that you can't just select the pump on Adam and Eve Court (#2) because it's technically an isolate.

vestry

Logical. TRUE uses the 14 pumps from the Vestry report. FALSE uses the 13 in the original map.

multi.core

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.


cholera documentation built on March 7, 2023, 5:31 p.m.