fd_feve | R Documentation |
This function computes Functional Evenness (FEve) following Villéger et al.
(2008). NB: By definition FEve is equal to NA
when the number of species
per site is strictly lower than 3.
fd_feve(traits = NULL, sp_com, dist_matrix = NULL)
traits |
Trait matrix with species as rows and traits as columns.
It has to contain exclusively numerical values. This can be
either a |
sp_com |
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 |
dist_matrix |
A dissimilarity matrix that can be provided instead of a
trait data.frame (default: |
a data.frame with two columns:
site
character column that contains site names based on input sp_com
row names,
FEve
numeric column that contains FEve values corresponding to each site.
NB: By definition FEve is equal to NA
when the number of species per site
is strictly lower than 3.
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("fundiversity_1-parallel", package = "fundiversity")
Villéger, S., Mason, N.W.H., Mouillot, D., 2008. New Multidimensional Functional Diversity Indices for a Multifaceted Framework in Functional Ecology. Ecology 89, 2290–2301. doi: 10.1890/07-1206.1
data(traits_birds) fd_feve(traits_birds)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.