Learn R Programming

cholera (version 0.7.0)

plot.voronoi: Plot Voronoi neighborhoods.

Description

Plot Voronoi neighborhoods.

Usage

# S3 method for voronoi
plot(x, voronoi.cells = TRUE,
  delauny.triangles = FALSE, euclidean.paths = FALSE, ...)

Arguments

x

An object of class "voronoi" created by neighborhoodVoronoi().

voronoi.cells

Logical. Plot Voronoi tessellation cells.

delauny.triangles

Logical. Plot Delauny triangles.

euclidean.paths

Logical. Plot all Euclidean paths (star graph).

...

Additional plotting parameters.

Value

A base R graph.

See Also

neighborhoodVoronoi()

addVoronoi()

Examples

Run this code
# NOT RUN {
plot(neighborhoodVoronoi())
# }

Run the code above in your browser using DataLab