C_conn: Network connectance

Description Usage Arguments Value References

Description

Network connectance, defined as the proportion of all possible links in a network, adopted from Carsten Dormann's bipartite package. Note: Before the calculation, species (rows) with zero occurrences, and sites (columns) with zero species are removed from m.

Usage

1
C_conn(m, clean = TRUE)

Arguments

m

Community data matrix with species as rows and sites as columns. Can contain either incidences (1/0) or abundances (natural numbers).

clean

Logical. Do you want to remove zero-sum rows or columns? When the index needs the "d" fraction (sites where no species occurs), only zero-sum rows are removed.

Value

A single number, network connectance.

References

Dormann et al. (2009) Indices, graphs and null models: analyzing bipartite ecological networks. The Open Ecology Journal, 2: 7-24.


petrkeil/spasm documentation built on Jan. 15, 2021, 6:08 p.m.