repairNetwork

0th

Percentile

Repair Internal Data in a Linear Network

Detect and repair inconsistencies or duplication in the internal data of a network object.

Keywords
manip, spatial
Usage
repairNetwork(X)
Arguments
X

A linear network (object of class "linnet") or a point pattern on a linear network (object of class "lpp").

Details

This function detects and repairs inconsistencies in the internal data of X. Currently it does the following:

  • removes any duplicated edges of the network

  • ensures that each edge is recorded as a pair of vertex indices (from, to) with from < to.

Value

An object of the same kind as X.

See Also

thinNetwork

Aliases
  • repairNetwork
Documentation reproduced from package spatstat, version 1.63-0, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.