View source: R/RemoveDeadEnds.R
Removes Transfernodes of Degree 1 from the network. This prevents the network being padded with nodes that don't do anything
1 | RemoveDeadEnds(g, iteration = 1)
|
g |
An igraph object representing a power network |
iteration |
the number of times the function has recursively removed nodes. Default start is 1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.