Last chance! 50% off unlimited learning
Sale ends in
Make a tessellation of a linear network by dividing it into pieces demarcated by the points of a point pattern.
divide.linnet(X)
Point pattern on a linear network (object of class "lpp"
).
A tessellation on a linear network (object of class "lintess"
).
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.
# NOT RUN {
X <- runiflpp(5, simplenet)
plot(divide.linnet(X))
plot(X, add=TRUE, pch=16)
# }
Run the code above in your browser using DataLab