plot.euclidean_path {cholera} | R Documentation |
Plot the path of the Euclidean distance between cases and/or pumps.
Description
Plot the path of the Euclidean distance between cases and/or pumps.
Usage
## S3 method for class 'euclidean_path'
plot(x, zoom = TRUE, add = FALSE,
long.title = TRUE, mileposts = TRUE, milepost.unit = "distance",
milepost.interval = NULL, alpha.level = 1, ...)
Arguments
x |
An object of class "euclidean_path" created by euclideanPath(). |
zoom |
Logical or Numeric. Positive numbers zoom in; negative numbers zoom out. |
add |
Logical. Add graphic to plot. |
long.title |
Logical. Tile with names. |
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.9.1 Index]