terminalvertices {spatstat.linnet} | R Documentation |
Finds the terminal vertices of a linear network.
terminalvertices(L)
L |
A linear network (object of class |
Given the linear network L
, this function
examines the vertices (segment endpoints) of the network
and determines which of them are ‘terminal’ vertices
(i.e. the endpoint of only one segment). These terminal vertices
are returned as a point pattern on the network.
A point pattern on the same linear network
(object of class "lpp"
).
Adrian Baddeley Adrian.Baddeley@curtin.edu.au, Rolf Turner rolfturner@posteo.net and Ege Rubak rubak@math.aau.dk and Mehdi Moradi m2.moradi@yahoo.com.
B <- terminalvertices(simplenet)
plot(simplenet, main="")
plot(B, add=TRUE, pch=16, cex=2)