node.removal.apl.l {netmodels} | R Documentation |
This function calculates the average path length of the network after the removal of the selected nodes. The nodes to be removed are defined on the vector provided by the user.
node.removal.apl.l(graph, v)
graph |
Igraph network object |
v |
List object with the nodes to be removed |
List object containing two objects: $apl a vector with the average path length after node removal and $graph an object with the Igraph network object describing the resulting network.
Domingo Vargas
v <- c(1:10) data(test.net,package="netmodels") vl <- node.removal.apl.l(test.net,v)