plot.euclidean | R Documentation |
Plot method for neighborhoodEuclidean().
## S3 method for class 'euclidean' plot(x, type = "star", add.observed.points = TRUE, add.title = TRUE, msg = FALSE, ...)
x |
An object of class "euclidean" created by |
type |
Character. "star", "area.points" or "area.polygons". "area" flavors only valid when |
add.observed.points |
Logical. Add observed fatality "addresses". |
add.title |
Logical. Add title. |
msg |
Logical. Toggle in-progress messages. |
... |
Additional plotting parameters. |
A base R plot.
This uses an approximate computation of polygons, using the 'TSP' package, that may produce non-simple and/or overlapping polygons.
## Not run: plot(neighborhoodEuclidean()) plot(neighborhoodEuclidean(-6)) plot(neighborhoodEuclidean(pump.select = 6:7)) plot(neighborhoodEuclidean(case.set = "expected"), type = "area.points") plot(neighborhoodEuclidean(case.set = "expected"), type = "area.polygons") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.