latlongNeighborhoodEuclidean: Compute Euclidean pump neighborhoods (lat-long prototype).

View source: R/latlongNeighborhoodEuclidean.R

latlongNeighborhoodEuclideanR Documentation

Compute Euclidean pump neighborhoods (lat-long prototype).

Description

Plots star graph from pump to its cases.

Usage

latlongNeighborhoodEuclidean(pump.select = NULL, vestry = FALSE,
  case.location = "address", case.set = "observed",
  pump.location = "address")

Arguments

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.location

Character. "address" or "orthogonal". "address" uses the longitude and latitude of fatalities.address. "orthogonal" uses the longitude and latitude of latlong.ortho.address.

case.set

Character. "observed" or "expected".

pump.location

Character. "address" or "orthogonal". "address" uses the longitude and latitude coordinates of pumps or pumps.vestry. "orthogonal" uses the longitude and latitude coordinates of latlong.ortho.pump or latlong.ortho.pump.vestry.


lindbrook/cholera documentation built on April 14, 2024, 6:29 a.m.