terminalvertices: Terminal Vertices of a Linear Network

View source: R/linnet.R

terminalverticesR Documentation

Terminal Vertices of a Linear Network

Description

Finds the terminal vertices of a linear network.

Usage

 terminalvertices(L)

Arguments

L

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

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.

Value

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

Author(s)

\spatstatAuthors

and \mehdi.

See Also

vertices.linnet.

Examples

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

spatstat.linnet documentation built on Nov. 2, 2023, 6:10 p.m.