delaunayNetwork | R Documentation |
Computes the edges of the Delaunay triangulation or Dirichlet tessellation of a point pattern, and returns the result as a linear network object.
delaunayNetwork(X)
dirichletNetwork(X, ...)
X |
A point pattern (object of class |
... |
Arguments passed to |
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
.
Linear network (object of class "linnet"
)
or NULL
.
and \ege
delaunay
,
dirichlet
,
delaunayDistance
LE <- delaunayNetwork(cells)
LI <- dirichletNetwork(cells)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.