FunImbalance {adiv}R Documentation

Indices of functional imbalance

Description

The function FunImbalance calculates functional imbalance within species communities, as an indicator of the strength of interaction between species abundances and their functional dissimilarities.

Usage

FunImbalance(comm, dis, method = c("CorB", "SESB", "QB"), nrep = 10000, tol = 1e-16) 

Arguments

comm

matrix or data frame with communities as rows, species as columns and abundance data as entries.

dis

an object of class dist that provides the functional dissimilarities between species.

method

a character string: one or a vector of "CorB", "SESB", and "QB". The strings indicate the name of the index of functional imbalance that must be used.

nrep

an integer. The number of repetitions (permutations) to use in the calculation of SESB and QB.

tol

a tolerance number: a value in [-tol, tol] is considered as zero.

Value

The function betaUniqueness returns a data frame with communities as rows and the selected indices of functional imbalance as columns.

Author(s)

Sandrine Pavoine sandrine.pavoine@mnhn.fr

References

Ricotta, C., Bacaro, G., Maccherini, S., Pavoine, S. (2022) Functional imbalance not functional evenness is the third component of community structure, Contact author for information

Examples

data(RutorGlacier)
fundis <- dist(scale(RutorGlacier$Traits2[1:6]))
fundis <- fundis/max(fundis)
funImb <- FunImbalance(RutorGlacier$Abund, fundis, method = "CorB")
funImb

[Package adiv version 2.2.1 Index]