pumpCase {cholera}R Documentation

Extract numeric case IDs by pump neighborhood.

Description

Extract numeric case IDs by pump neighborhood.

Usage

pumpCase(x, case)

Arguments

x

An object created by neighborhoodEuclidean(), neighborhoodVoronoi() or neighborhoodWalking().

case

Character. "address" or "fatality"

Value

An R list of numeric ID of cases by pump neighborhoods.

Examples

## Not run: 
pumpCase(neighborhoodEuclidean())
pumpCase(neighborhoodVoronoi())
pumpCase(neighborhoodWalking())

## End(Not run)

[Package cholera version 0.8.0 Index]