node.removal.cls.l {netmodels} | R Documentation |
This function tests the effect of the node removal on the clustering coefficient. The provided nodes (list) are removed. Please note the nodes are removed according with the order they appear on the provided list.
node.removal.cls.l(graph, v)
graph |
Igraph network object |
v |
List of nodes to be removed from the network |
Please note the nodes are defined according with the order they appear on the network and the first node is represented by the number 1 no 0. This differs from the Igraph object definition where 0 represents the first node of 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") v <- c(1:10) vl <- node.removal.cls.l(test.net,v)