Skip to contents

This function calculates the input, output, and average environ centrality of the nodes in the network (Fath and Borret, 2012). This is a type of weighted degree centrality that indicates the relative importance of the nodes in the flow activity in the network.

Usage

environCentrality(x = "matrix")

Arguments

x

A square matrix. Usually the integral flow marix from enaFlow. The assumption is that the flows are oriented column to row.

Value

ECin

input oriented environ centrality

ECout

output oriented environ centraility

AEC

average environ centrality (average of input and output)

References

Fann, S.L. and Borrett, S.R. 2012. Environ centrality reveals the tendency of indirect effects to homogenize the functional importance of species in ecosystems. Journal of Theoretical Biology 294: 74-86.

See also

Author

Matthew K. Lau Stuart R. Borrett

Examples




data(troModels)
F <- enaFlow(troModels[[6]])
ec <- environCentrality(F$N)
attributes(ec)
#> $names
#> [1] "ECin"  "ECout" "AEC"  
#> 
barplot(sort(ec$AEC, decreasing = TRUE), col = 4, ylab = "Average Environ Centrality", 
    ylim = c(0, 0.4))