Description Usage Arguments Value Author(s) Examples
The function removes self-loops, edges that start and end in the same node, from the network.
1 | rmSelfLoops(network)
|
network |
A graph object, either in graphNEL or igraph format. |
The graph with the removed edges.
Marcus Dittrich
1 2 3 4 | graph <- makeNetwork(c("a","b","c","d","e","a"), c("b","c","d","e","e","e"))
graph2 <- rmSelfLoops(graph)
edges(graph)
edges(graph2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.