vulnerability: Calculate the vulnerability of each node for each network

View source: R/vulnerability.R

vulnerabilityR Documentation

Calculate the vulnerability of each node for each network

Description

The vulnerability of each node represents the influence of the node on the global efficiency of the network, i.e. the efficiency of network after removing the targeted node. For the detailed defination of global efficiency, please see the "Eff" option of measure parameter in robustness class.

Usage

vulnerability(network_list)

Arguments

network_list

a list with multiple networks; all the networks should be trans_network object created from trans_network class of microeco package.

Value

data.frame

Examples


data(soil_amp_network)
vulnerability_table <- vulnerability(soil_amp_network)


meconetcomp documentation built on Nov. 18, 2023, 5:06 p.m.