plot.voronoi: Plot Voronoi neighborhoods.

View source: R/voronoi.R

plot.voronoiR Documentation

Plot Voronoi neighborhoods.

Description

Plot Voronoi neighborhoods.

Usage

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

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.

Value

A base R graph.

See Also

neighborhoodVoronoi()

addVoronoi()

Examples

plot(neighborhoodVoronoi())

cholera documentation built on March 7, 2023, 5:31 p.m.