View source: R/euclideanNominal.R
plot.euclidean | R Documentation |
Plot method for neighborhoodEuclidean().
## S3 method for class 'euclidean'
plot(x, type = "star", add = FALSE,
add.observed.points = TRUE, alpha.level = 0.75, polygon.type = "solid",
...)
x |
An object of class "euclidean" created by |
type |
Character. "star", "area.points" or "area.polygons". "area" flavors only valid when |
add |
Logical. Add graphic to an existing plot. |
add.observed.points |
Logical. Add observed fatality "addresses". |
alpha.level |
Numeric. Alpha level transparency for area plot: a value in [0, 1]. |
polygon.type |
Character. "perimeter" or "solid". |
... |
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.