Learn R Programming

cholera (version 0.5.1)

plot.voronoi: Plot Voronoi neighborhoods.

Description

Plot Voronoi neighborhoods.

Usage

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

Arguments

x

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

voronoi.cells

Logical. Plot Voronoi tessellation cells.

euclidean.paths

Logical. Plot all Euclidean paths (star graph).

...

Additional plotting parameters.

Value

A base R graph.

See Also

neighborhoodVornoi()

addVoronoi()

Examples

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

Run the code above in your browser using DataLab