Description Usage Arguments Details Value Examples
Computes the FEE index for the communities specified in abund, based
on the trait data specified in pool_traits.
1 2 3 4 5 6 7 8 9 10 |
pool_traits |
a matrix (or data frame) of numeric functional traits for species pool. Columns are for different traits and rows are for different species in the species pool. |
abund |
matrix (or data frame) of species abundances in the communities
of interest. Columns are for different species in the species pool (in the
same species order as in |
dis_metric |
string specifying the scheme of quantifying species
dissimilarity in trait space. The currently available options are
|
abundWeighted |
logical; indicating whether the abundance values in
|
poolBased |
logical; indicating whether the calculation is based on
species pool. The default is |
doFEE0 |
logical; indicating whether the output includes FEE0 (raw
functional extension and evenness metric). The default is |
user_ecdf |
string specifying the path and name of the file that saves
user's results of empirical cumulative distribution function (eCDF) of
FEE0. Under the same setting ( |
doParallel |
logical; indicating whether the calculation of FEE is
conducted in parallel. The default value is |
This function is the core function of the package. The pool_traits
and abund are key arguments. The dis_metric,
abundWeighted, and poolBased are essential arguments, which
together define the FEE calculation scheme. The other three arguments are
auxiliary arguments, which might affect calculation efficiency or alter
output format, but do not affect FEE calculation results.
Preparing eCDFs usually takes the most time of FEE calculation. To increase
calculation speed, some pre-calculated eCDFs are enclosed in the package.
For the cases with 1 to 6 traits, 2 to 90 species, and under the assumption
of no prior knowledge about trait distribution (i.e., poolBased is
FALSE, thus species pool does not affect eCDFs), these pre-calculated
eCDFs are used in the FEE calculation. For other scenarios, especially
species-pool-based calculation (poolBased = TRUE), eCDFs are not
prepared and need to be calculated from scratch. In this case, specifying
user_ecdf allows the newly calculated eCDFs to be saved and reused
as needed. As a result, the saved eCDFs can considerably reduce calculation
time for communities that are under the same settings of pool_traits,
dis_metric, and poolBased.
The FEE index values of the communities. If doFEE0 is
TRUE, the output includes two lists: the raw FEE0 metrics and the
FEE indices. Specifically, FEE values for monocultures are NA.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.