Learn R Programming

spatstat (version 1.20-2)

dirichlet: Dirichlet Tessellation of Point Pattern

Description

Computes the Dirichlet/Voronoi tessellation of a spatial point pattern.

Usage

dirichlet(X)

Arguments

X
Spatial point pattern (object of class "ppp").

Value

  • A tessellation (object of class "tess").

Details

In a spatial point pattern X, the Dirichlet/Voronoi tile associated with a particular point X[i] is the region of space that is closer to X[i] than to any other point in X. The Dirichlet tiles divide the two-dimensional plane into disjoint regions, forming a tessellation.

This function computes the Dirichlet tessellation (within the original window of X).

See Also

tess, delaunay, ppp

Examples

Run this code
X <- runifpoint(42)
  plot(dirichlet(X))
  plot(X, add=TRUE)

Run the code above in your browser using DataLab