latlongVoronoi {cholera} | R Documentation |
Compute Georeferenced Latitude and Longitude of vertices of Voronoi polygons.
Description
Compute Georeferenced Latitude and Longitude of vertices of Voronoi polygons.
Usage
latlongVoronoi(pump.select = NULL, vestry = FALSE)
Arguments
pump.select |
Numeric. Vector of numeric pump IDs to define pump neighborhoods (i.e., the "population"). Negative selection possible. |
vestry |
Logical. |
Examples
snowMap(latlong = TRUE)
cells <- latlongVoronoi()
invisible(lapply(cells, function(x) polygon(x[, c("lon", "lat")])))
[Package cholera version 0.8.0 Index]