Compute Functional Dispersion (FDis)Source:
Compute Functional Dispersion (FDis)
The matrix dataset for which you want to compute the index
Site-species matrix with sites as rows and species as columns if not provided, the function considers all species with equal abundance in a single site. This can be either a
data.frame, or a
a data.frame with two columns:
sitethe names of the sites as the row names of the input
FDisthe values of functional dispersion at each site.
NB: when a site contains no species FDis is equal to 0.
The computation of this function can be parallelized thanks to
future::plan(). To get more information on how to parallelize your
computation please refer to the parallelization vignette with:
vignette("parallel", package = "fundiversity")
Laliberté, E., & Legendre, P. (2010). A distance-based framework for measuring functional diversity from multiple traits. Ecology, 91(1), 299–305. doi: 10.1890/08-2244.1