Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

dirichlet

Dirichlet Tessellation of Point Pattern


Description

Computes the Dirichlet tessellation of a spatial point pattern. Also known as the Voronoi or Thiessen tessellation.

Usage

dirichlet(X)

Arguments

X

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

Details

In a spatial point pattern X, the Dirichlet 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.

The Dirichlet tessellation is also known as the Voronoi or Thiessen tessellation.

This function computes the Dirichlet tessellation (within the original window of X) using the function deldir in the package deldir.

To ensure that there is a one-to-one correspondence between the points of X and the tiles of dirichlet(X), duplicated points in X should first be removed by X <- unique(X, rule="deldir").

The tiles of the tessellation will be computed as polygons if the original window is a rectangle or a polygon. Otherwise the tiles will be computed as binary masks.

Value

A tessellation (object of class "tess").

Author(s)

and Rolf Turner r.turner@auckland.ac.nz

See Also

Examples

X <- runifrect(42)
  plot(dirichlet(X))
  plot(X, add=TRUE)

spatstat.geom

Geometrical Functionality of the 'spatstat' Family

v2.1-0
GPL (>= 2)
Authors
Adrian Baddeley [aut, cre], Rolf Turner [aut], Ege Rubak [aut], Tilman Davies [ctb], Ute Hahn [ctb], Abdollah Jalilian [ctb], Sebastian Meyer [ctb], Suman Rakshit [ctb], Dominic Schuhmacher [ctb], Rasmus Waagepetersen [ctb]
Initial release
2021-04-15

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.