Skip to contents

Subdivide edges by adding missing nodes, simplify the network (see simplify_network()), remove pseudo-nodes, and discard all but the main connected component.

Usage

clean_network(network)

Arguments

network

A network object

Value

A cleaned network object