plot.walking {cholera} | R Documentation |
Plot method for neighborhoodWalking().
## S3 method for class 'walking'
plot(x, type = "roads", msg = FALSE,
tsp.method = "repetitive_nn", ...)
x |
An object of class "walking" created by |
type |
Character. "roads", "area.points" or "area.polygons". "area" flavors only valid when |
msg |
Logical. Toggle in-progress messages. |
tsp.method |
Character. Traveling salesperson problem algorithm. |
... |
Additional plotting parameters. |
A base R plot.
When plotting area graphs with simulated data (i.e., case.set = "expected"
), there may be discrepancies between observed cases and expected neighborhoods, particularly between neighborhoods.
## Not run:
plot(neighborhoodWalking())
plot(neighborhoodWalking(case.set = "expected"))
plot(neighborhoodWalking(case.set = "expected"), type = "area.points")
plot(neighborhoodWalking(case.set = "expected"), type = "area.polygons")
## End(Not run)