powered by
Compute Georeferenced Latitude and Longitude of vertices of Voronoi polygons.
latlongVoronoi(pump.select = NULL, vestry = FALSE)
Numeric. Vector of numeric pump IDs to define pump neighborhoods (i.e., the "population"). Negative selection possible. NULL selects all pumps.
NULL
Logical. TRUE uses the 14 pumps from the Vestry report. FALSE uses the 13 in the original map.
TRUE
FALSE
snowMap(latlong = TRUE) cells <- latlongVoronoi() invisible(lapply(cells, function(x) polygon(x[, c("lon", "lat")])))
Run the code above in your browser using DataLab