node.trim {netmodels} | R Documentation |
This function deletes all the single nodes with 0 edges off the network.
node.trim(graph)
graph |
Igraph network object |
Returns a new graph object with the selected nodes removed.
Domingo Vargas
data(test.net,package="netmodels") new.net <- node.trim(test.net)