Description Usage Arguments Value Parallelization References Examples
View source: R/fa_fric_ashape.R
Functional Richness is computed as the volume of the α-shape from all included traits.
1 | fa_fric_ashape(traits, sp_com, stand = FALSE, avalue = "auto")
|
traits |
The matrix dataset for which you want to compute the index |
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 |
stand |
a boolean indicating whether to standardize FRic values over
the observed maximum over all species (default: |
avalue |
The value of the
α parameter to compute the
α-shape.
Set to |
a data.frame with two columns:
site
the names of the sites as the row names of the input sp_com
,
FRic
the values of functional richness at each site.
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")
Gruson H. 2020. Estimation of colour volumes as concave hypervolumes using α-shapes. Methods in Ecology and Evolution, early view doi: 10.1111/2041-210X.13398
1 2 | data(traits_birds, package = "fundiversity")
fa_fric_ashape(traits_birds[,-1])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.