Number of links and connectance

# EcologicalNetwork.linksFunction.

Number of links in a network

links(N::EcoNetwork)

For all type of networks, this is the sum of the adjacency matrix. Note that for quantitative networks, this is the cumulative sum of link weights.

source

# EcologicalNetwork.link_numberFunction.

Number of links in a quantitative network

link_number(N::QuantitativeNetwork)

In quantitative networks only, returns the number of non-zero interactions.

source

# EcologicalNetwork.links_varFunction.

Variance in the expected number of links

links_var(N::ProbabilisticNetwork)

Expected variance of the number of links for a probabilistic network.

source

Linkage density

# EcologicalNetwork.linkage_densityFunction.

Linkage density

linkage_density(N::DeterministicNetwork)

Number of links divided by species richness.

source

Connectance

# EcologicalNetwork.connectanceFunction.

Connectance

connectance(N::EcoNetwork)

Number of links divided by the number of possible interactions. In unipartite networks, this is $L/S^2$. In bipartite networks, this is $L/(T × B)$.

source

Connectance of a quantitative network

connectance(N::QuantitativeNetwork)

Connectance of a quantitative network – the information on link weight is ignored.

source

# EcologicalNetwork.connectance_varFunction.

Variance in the expected connectance

connectance_var(N::ProbabilisticNetwork)

Expected variance of the connectance for a probabilistic matrix, measured as the variance of the number of links divided by the squared size of the matrix.

source