Learn R Programming

enaR (version 2.9.1)

environCentrality: Environ Centrality an Ecological Network

Description

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

enaFlow

Examples

Run this code
data(troModels) 
F<-enaFlow(troModels[[6]])
ec<-environCentrality(F$N)
attributes(ec)
barplot(sort(ec$AEC,decreasing=TRUE),col=4,
   ylab="Average Environ Centrality",
   ylim=c(0,0.4))

Run the code above in your browser using DataLab