resilience: Calculates resilience of network

resilienceR Documentation

Calculates resilience of network

Description

Calculates resilience of network

Usage

resilience(graph, nodes)

Arguments

graph

is the weighted igraph object

nodes

is a set of nodes to check resilience of

Value

number of remaining nodes in largest connected component after removing nodes

Examples

{resilience(erdos.renyi.game(500, 0.005), nodes=V(graph)[c(2,5,9,23)])}

seekme94/influence.mining documentation built on Aug. 2, 2022, 10:19 p.m.