Supplement 1. R script for computation of functional diversity and functional specialization indices.
收藏NIAID Data Ecosystem2026-03-09 收录
下载链接:
https://figshare.com/articles/dataset/Supplement_1_R_script_for_computation_of_functional_diversity_and_functional_specialization_indices_/3515324
下载链接
链接失效反馈官方服务:
资源简介:
File List
FDind.R -- R source code for indices computation
Description
The FDind.R R
program computes the 3 functional diversity indices presented in
Villéger et al. 2008 (Ecology 89:2290–2301), and the
functional specialization index proposed by Bellwood et al. 2006
(Proc. R. Soc. B. 273:101–107).
Computation
requires R libraries « ape » and « geometry »
and two matrices as inputs:
« traits »
(S*T): T traits values for the S species (at least 2 quantitative
continuous traits, i.e., numeric values)
« abundances »
(C*S) : abundances for the S species in C communities (NA allowed)
The
function returns a dataframe (C*5) with Species richness (Nbsp),
functional richness (FRic), functional evenness (FEve), functional
divergence (FDiv) and functional specialization (FSpe) values for
each of the C communities.
A
basic example is provided at the end of the script.
Details
on indices computation are presented in Appendix
B.
创建时间:
2016-08-04



