View source: R/latlongNearestPump.R
latlongNearestPump | R Documentation |
Compute shortest georeferenced distances (and walking paths) to selected pumps (prototype).
latlongNearestPump(pump.select = NULL, metric = "walking", vestry = FALSE, weighted = TRUE, time.unit = "second", walking.speed = 5, multi.core = TRUE)
pump.select |
Numeric. Pump candidates to consider. Default is |
metric |
Character. "euclidean" or "walking". |
vestry |
Logical. |
weighted |
Logical. |
time.unit |
Character. "hour", "minute", or "second". |
walking.speed |
Numeric. Walking speed in km/hr. |
multi.core |
Logical or Numeric. |
An R data frame or list of 'igraph' path nodes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.