resilience | R Documentation |
Calculates resilience of network
resilience(graph, nodes)
graph |
is the weighted igraph object |
nodes |
is a set of nodes to check resilience of |
number of remaining nodes in largest connected component after removing nodes
{resilience(erdos.renyi.game(500, 0.005), nodes=V(graph)[c(2,5,9,23)])}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.