plot.latlong_walking_path {cholera} | R Documentation |
Plot the walking path between selected cases and/or pumps.
Description
Plot the walking path between selected cases and/or pumps.
Usage
## S3 method for class 'latlong_walking_path'
plot(x, zoom = TRUE, mileposts = TRUE,
milepost.unit = "distance", milepost.interval = NULL, alpha.level = 1,
...)
Arguments
x |
An object of class "latlong_walking_path" created by latlongWalkingPath(). |
zoom |
Logical or Numeric. A numeric value >= 0 that controls the degree of zoom. |
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. |
Value
A base R plot.
[Package cholera version 0.8.0 Index]