Description Usage Arguments Value Examples
Delete multiple edges in the graph if any, and print message if wanted. Messages can be useful to monitor an iterative rewiring process for example.
1 | deleteMultipleEdges(g, verbose = FALSE)
|
g |
An igraph object |
verbose |
Wether or not to print a message if multiple edges are deleted. (default: FALSE). |
An igraph object without any multiple edges.
1 2 3 4 5 | library(igraph)
g = generateSupplyNet()
vij = sample(V(g), 2)
g = add_edges(g, c(vij, vij))
g = deleteMultipleEdges(g, verbose=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.