View source: R/addWalkingPath.R
addWalkingPath | R Documentation |
Add walking path from case/landmark to nearest or selected pump. (prototype)
addWalkingPath(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,
mileposts = TRUE, milepost.unit = "distance", milepost.interval = NULL,
alpha.level = 1, ...)
origin |
Numeric. Vector of origin(s) (numeric or case/landmark name). |
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. "anchor, "fatality" 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. |
mileposts |
Logical. Plot mile/time posts. |
milepost.unit |
Character. "distance" or "time". |
milepost.interval |
Numeric. Mile post interval unit of distance (yard or meter) or unit of time (seconds). |
alpha.level |
Numeric. Alpha level transparency for path: a value in [0, 1]. |
... |
Additional plotting parameters. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.