Learn R Programming

meconetcomp (version 0.6.1)

vulnerability: 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)

Value

data.frame

Arguments

network_list

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

Examples

Run this code
# \donttest{
data(soil_amp_network)
vulnerability_table <- vulnerability(soil_amp_network)
# }

Run the code above in your browser using DataLab