delaunayNetwork: Linear Network of Delaunay Triangulation or Dirichlet...

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/deldirnet.R

Description

Computes the edges of the Delaunay triangulation or Dirichlet tessellation of a point pattern, and returns the result as a linear network object.

Usage

1
2
3

Arguments

X

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

...

Arguments passed to as.linnet.psp

Details

For delaunayNetwork, points of X which are neighbours in the Delaunay triangulation (see delaunay) will be joined by a straight line. The result will be returned as a linear network (object of class "linnet").

For dirichletNetwork, the Dirichlet tessellation is computed (see dirichlet) and the edges of the tiles of the tessellation are extracted. This is converted to a linear network using as.linnet.psp.

Value

Linear network (object of class "linnet") or NULL.

Author(s)

\adrian \rolf

and \ege

See Also

delaunay, dirichlet, delaunayDistance

Examples

1
2
  LE <- delaunayNetwork(cells)
  LI <- dirichletNetwork(cells)

spatstat.linnet documentation built on July 17, 2021, 9:07 a.m.