environCentrality: Environ Centrality an Ecological Network

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/environCentrality.R

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

1
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)

Author(s)

Matthew K. Lau Stuart R. Borrett

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

1
2
3
4
5
6
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))

enaR documentation built on May 1, 2019, 10:54 p.m.