FunImbalance | R Documentation |
The function FunImbalance
calculates functional imbalance within species communities, as an indicator of the strength of interaction between
species abundances and their functional dissimilarities.
FunImbalance(comm, dis, method = c("CorB", "SESB", "QB"), nrep = 10000, tol = 1e-16)
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. |
The function betaUniqueness
returns a data frame with communities as rows and the selected indices of functional imbalance as columns.
Sandrine Pavoine sandrine.pavoine@mnhn.fr
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
data(RutorGlacier)
fundis <- dist(scale(RutorGlacier$Traits2[1:6]))
fundis <- fundis/max(fundis)
funImb <- FunImbalance(RutorGlacier$Abund, fundis, method = "CorB")
funImb
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.