View source: R/linnetsurgery.R
repairNetwork | R Documentation |
Detect and repair inconsistencies or duplication in the internal data of a network object.
repairNetwork(X)
X |
A linear network (object of class |
This function detects and repairs inconsistencies
in the internal data of X
. Currently it does the following:
checks that different ways of calculating the number of edges give the same answer
removes any duplicated edges of the network
ensures that each edge is recorded as a pair of vertex indices
(from, to)
with from < to
.
An object of the same kind as X
.
.
thinNetwork
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.