RemoveDeadEnds: Remove Dead Ends

Description Usage Arguments

View source: R/RemoveDeadEnds.R

Description

Removes Transfernodes of Degree 1 from the network. This prevents the network being padded with nodes that don't do anything

Usage

1
RemoveDeadEnds(g, iteration = 1)

Arguments

g

An igraph object representing a power network

iteration

the number of times the function has recursively removed nodes. Default start is 1


JonnoB/PowerGridNetworking documentation built on Aug. 7, 2021, 3:04 a.m.