| divide.linnet | R Documentation |
Make a tessellation of a linear network by dividing it into pieces demarcated by the points of a point pattern.
divide.linnet(X)
X |
Point pattern on a linear network (object of class |
The points X are interpreted as dividing the linear network
L=as.linnet(X) into separate pieces.
Two locations on L
belong to the same piece if and only if they can be joined by a path
in L that does not cross any of the points of X.
The result is a
tessellation of the network (object of class "lintess")
representing the division of L into pieces.
A tessellation on a linear network (object of class "lintess").
and Greg McSwiggan.
linnet, lintess.
X <- runiflpp(5, simplenet)
plot(divide.linnet(X))
plot(X, add=TRUE, pch=16, show.network=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.