plot.walking_path | R Documentation |
Plot the walking path between selected cases and/or pumps.
## S3 method for class 'walking_path' plot(x, zoom = 0.5, stacked = TRUE, unit.posts = "distance", unit.interval = NULL, alpha.level = 1, ...)
x |
An object of class "walking_path" created by walkingPath(). |
zoom |
Logical or Numeric. A numeric value >= 0 controls the degree of zoom. The default is 0.5. |
stacked |
Logical. Use stacked fatalities. |
unit.posts |
Character. "distance" for mileposts; "time" for timeposts; NULL for no posts. |
unit.interval |
Numeric. Set interval between posts. When |
alpha.level |
Numeric. Alpha level transparency for path: a value in [0, 1]. |
... |
Additional plotting parameters. |
A base R plot.
Arrows represent mileposts or timeposts to the destination.
## Not run: plot(walkingPath(15)) plot(walkingPath(15), unit.posts = "time") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.