
ThemFD package provides a“user friendly”interface to compute aglobal assessment of functionaldiversity by gathering computation of alpha and beta functionalindices. As no package before, it guides users through functionalanalysis with one function per action to complete, several argumentsthat can be changed and allows personalized graphical outputs. Varioustutorials are available on the mFD website to guide the user through thefunctional workflow.
You can install the stable version fromCRAN with:
# Install stable version of < mFD > from CRAN ----install.packages("mFD")Or you can install the development version fromGitHub with:
## Install < remotes > package (if not already installed) ----if (!requireNamespace("remotes",quietly =TRUE)) {install.packages("remotes")}## Install dev version of < mFD > from GitHub ----remotes::install_github("CmlMagneville/mFD",build_vignettes =TRUE)library("mFD")To compute functional diversity indices, users need:
a data frame summarizing species traits (species in rows, traitsin columns). ThemFD package works with all kind of traits:quantitative, ordinal, nominal, circular, and fuzzy-coded.
a matrix summarizing species gathering into assemblages(assemblages in rows, species in columns). All assemblages must at leastcontain one species.
a data frame summarizing traits category (first column withtraits name, second column with traits type, third column with fuzzyname of fuzzy traits - if no fuzzy traits: NA).
For a complete understanding of the functional workflow and thepackage possibilities, please refer to themFDGeneral Workflow.
Please cite this package as:
Magneville, C., Loiseau, N., Albouy, C., Casajus, N., Claverie,T., Escalas, A., Leprieur, F., Maire, E., Mouillot, D., Villéger,S. (2022). mFD: an R package to compute and illustrate the multiplefacets of functional diversity.Ecographyhttps://onlinelibrary.wiley.com/doi/10.1111/ecog.05904
You can also run:
citation("mFD")SV, NL, CA, FL and CM coded the functions and their help. SV and CMled tutorial writings. All authors tested the functions and contributedto writing of helps and tutorials. NC optimized the package and made itready for CRAN submission.