Learn R Programming

spatstat.linnet (version 3.2-2)

terminalvertices: Terminal Vertices of a Linear Network

Description

Finds the terminal vertices of a linear network.

Usage

terminalvertices(L)

Value

A point pattern on the same linear network (object of class "lpp").

Arguments

L

A linear network (object of class "linnet").

Author

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.

Details

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.

See Also

vertices.linnet.

Examples

Run this code
  B <- terminalvertices(simplenet)
  plot(simplenet, main="")
  plot(B, add=TRUE, pch=16, cex=2)

Run the code above in your browser using DataLab