View source: R/euclideanPath.R
euclideanPath | R Documentation |
Compute Euclidean path coordinates from observed case/landmark to nearest/selected pump.
euclideanPath(origin = 1, destination = NULL, type = "case-pump",
vestry = FALSE, latlong = FALSE, case.set = "observed",
location = "nominal", weighted = TRUE, distance.unit = "meter",
time.unit = "second", walking.speed = 5, include.landmarks = TRUE)
origin |
Numeric. Vector of origin(s) (numeric ID or character name landmark/pump ). |
destination |
Numeric. Vector of destination(s) (numeric or landmark/pump name). |
type |
Character. Path case to pump. FALSE is all other combinations of cases, landmarks and pumps. |
vestry |
Logical. |
latlong |
Logical. |
case.set |
Character. "observed" or "expected". |
location |
Character. For cases and pumps. "nominal", "anchor" or "orthogonal". |
weighted |
Logical. |
distance.unit |
Character. Unit of distance: "meter" or "yard". |
time.unit |
Character. "hour", "minute", or "second". |
walking.speed |
Numeric. Walking speed in km/hr. |
include.landmarks |
Logical. Include landmarks as cases. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.