node.removal.cls.n {netmodels} | R Documentation |
This function tests the effect of the sequential node removal on the clustering coefficient. The n-first nodes of the network are removed. Please note the nodes are removed according with the order they were defined on the Igraph object.
node.removal.cls.n(graph, n)
graph |
Igraph network object |
n |
The n-fisrt nodes to be removed from the network |
List object containing two objects:
$cls |
a vector with the clustering coefficient after n-node removal |
$graph |
Igraph network object describing the resulting network |
Domingo Vargas
data(test.net,package="netmodels") vl <- node.removal.cls.n(test.net,42)