connectance: connectance function for unipartite or bipartite matrices

View source: R/connectance.R

connectanceR Documentation

connectance function for unipartite or bipartite matrices

Description

either qualitative or quantitative

Usage

connectance(interaction.matrix, quant = FALSE, structural_zeros = NULL)

Arguments

interaction.matrix

interaction matrix

quant

whether to calculate quantitative connectance after LDq' in Banasek-Richter et al. 2009

structural_zeros

optional dataframe or matrix with two columns, giving 1) the rows and 2) the columns of positions which are structural zeros (or 'forbidden links') that should not be considered in the calculation

Value

connectance value (0-1)


RadicalCommEcol/MultitrophicFun documentation built on Oct. 13, 2023, 1:27 a.m.