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)
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.
Trait matrix with species as rows and traits as columns.
It has to contain exclusively numerical values. This can be
either a matrix
, a data.frame
, or a Matrix::Matrix()
object.
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 matrix
,
a data.frame
, or a Matrix::Matrix()
object.
A dissimilarity matrix that can be provided instead of a
trait data.frame (default: NULL
).
This can be either a matrix
, a data.frame
,
or a Matrix::Matrix()
object.
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. tools:::Rd_expr_doi("10.1890/07-1206.1")
data(traits_birds)
fd_feve(traits_birds)
Run the code above in your browser using DataLab