Learn R Programming

cholera (version 0.8.0)

plot.voronoi: Plot Voronoi neighborhoods.

Description

Plot Voronoi neighborhoods.

Usage

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

Value

A base R graph.

Arguments

x

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

voronoi.cells

Logical. Plot Voronoi tessellation cells.

delaunay.triangles

Logical. Plot Delaunay triangles.

euclidean.paths

Logical. Plot all Euclidean paths (star graph).

...

Additional plotting parameters.

See Also

neighborhoodVoronoi()

addVoronoi()

Examples

Run this code
plot(neighborhoodVoronoi())

Run the code above in your browser using DataLab