mFD
Provides a user friendly interface to compute a global assessment of functional diversity by gathering computation of alpha and beta functional indices.
https://github.com/cmlmagneville/mfd
Category: Biosphere
Sub Category: Biodiversity Analysis and Metrics
Keywords from Contributors
traits
Last synced: about 12 hours ago
JSON representation
Repository metadata
:package: A Computation of Functional Spaces and Functional Diversity Indices
- Host: GitHub
- URL: https://github.com/cmlmagneville/mfd
- Owner: CmlMagneville
- License: gpl-2.0
- Created: 2021-02-26T11:55:45.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-12-19T15:24:50.000Z (about 1 year ago)
- Last Synced: 2025-11-29T15:31:59.275Z (26 days ago)
- Language: R
- Homepage: https://cmlmagneville.github.io/mFD/
- Size: 167 MB
- Stars: 28
- Watchers: 2
- Forks: 5
- Open Issues: 0
- Releases: 7
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
- License: LICENSE
README.Rmd
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
mFD
=========================================================
[](https://CRAN.R-project.org/package=mFD/)
[](https://github.com/CmlMagneville/mFD/actions/workflows/R-CMD-check.yaml)
[](https://github.com/CmlMagneville/mFD/actions/workflows/pkgdown.yaml)
[](https://choosealicense.com/licenses/gpl-2.0/)
[](https://lifecycle.r-lib.org/articles/stages.html#stable)
[](https://www.repostatus.org/#active)
[](https://cran.r-project.org/package=mFD)
The `mFD` package provides a **"user friendly" interface** to compute a
**global assessment of functional diversity** by gathering computation of alpha
and beta functional indices. As no package before, it guides users through
functional analysis with one function per action to complete, several arguments
that can be changed and allows personalized graphical outputs. Various tutorials
are available on the mFD website to guide the user through the functional
workflow.
## Installation
You can install the stable version from [CRAN](https://cran.r-project.org/) with:
```{r, eval = FALSE}
# Install stable version of < mFD > from CRAN ----
install.packages("mFD")
```
Or you can install the development version from [GitHub](https://github.com/) with:
```{r, eval = FALSE}
## 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)
```
## Get started
```{r, eval = FALSE}
library("mFD")
```
To compute functional diversity indices, users need:
- a data frame summarizing species traits (species in rows, traits in columns).
The `mFD` 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 least contain one species.
- a data frame summarizing traits category (first column with traits name,
second column with traits type, third column with fuzzy name of fuzzy traits -
if no fuzzy traits: NA).
For a complete understanding of the functional workflow and the package
possibilities, please refer to the
[mFD General Workflow](https://cmlmagneville.github.io/mFD/articles/mFD_general_workflow.html) and other tutorial on the [mFD website](https://cmlmagneville.github.io/mFD/).
## Citation
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 multiple facets of functional diversity.
_Ecography_ https://onlinelibrary.wiley.com/doi/10.1111/ecog.05904
You can also run:
```{r, eval = FALSE}
citation("mFD")
```
## Contributions
SV, NL, CA, FL and CM coded the functions and their help.
SV and CM led tutorial writings. All authors tested the functions
and contributed to writing of helps and tutorials.
NC optimized the package and made it ready for CRAN submission.
Owner metadata
- Name: Camille Magneville
- Login: CmlMagneville
- Email:
- Kind: user
- Description:
- Website:
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/58591651?v=4
- Repositories: 3
- Last ynced at: 2023-03-05T17:19:06.009Z
- Profile URL: https://github.com/CmlMagneville
GitHub Events
Total
- Watch event: 1
- Issue comment event: 2
- Push event: 2
Last Year
- Issue comment event: 2
Committers metadata
Last synced: about 19 hours ago
Total Commits: 571
Total Committers: 4
Avg Commits per committer: 142.75
Development Distribution Score (DDS): 0.28
Commits in past year: 0
Committers in past year: 0
Avg Commits per committer in past year: 0.0
Development Distribution Score (DDS) in past year: 0.0
| Name | Commits | |
|---|---|---|
| CmlMagneville | c****e@m****t | 411 |
| Cml_Magneville | c****e@g****m | 116 |
| Nicolas Casajus | n****s@g****m | 42 |
| Matthias Grenié | m****e@e****r | 2 |
Committer domains:
- ens-lyon.fr: 1
- magneville.net: 1
Issue and Pull Request metadata
Last synced: 4 months ago
Total issues: 34
Total pull requests: 10
Average time to close issues: 23 days
Average time to close pull requests: 7 days
Total issue authors: 17
Total pull request authors: 2
Average comments per issue: 1.74
Average comments per pull request: 0.2
Merged pull request: 8
Bot issues: 0
Bot pull requests: 0
Past year issues: 0
Past year pull requests: 0
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 0
Past year pull request authors: 0
Past year average comments per issue: 0
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- ahasverus (10)
- CmlMagneville (6)
- Klemet (3)
- AlexArevalo1 (2)
- Jaxsonp10 (1)
- Rekyt (1)
- beifenging (1)
- zhangzhixin1102 (1)
- Taiyou187 (1)
- Alexia126 (1)
- gxxin1994 (1)
- sroblet (1)
- mthompson89 (1)
- acottin (1)
- poudro1 (1)
Top Pull Request Authors
- ahasverus (7)
- Rekyt (3)
Top Issue Labels
- enhancement (6)
- documentation (5)
- bug (3)
- final check (1)
- review code (1)
- help wanted (1)
Top Pull Request Labels
Package metadata
- Total packages: 3
-
Total downloads:
- cran: 1,919 last-month
- Total dependent packages: 0 (may contain duplicates)
- Total dependent repositories: 0 (may contain duplicates)
- Total versions: 22
- Total maintainers: 1
proxy.golang.org: github.com/cmlmagneville/mfd
- Homepage:
- Documentation: https://pkg.go.dev/github.com/cmlmagneville/mfd#section-documentation
- Licenses: gpl-2.0
- Latest release: v1.0.7 (published almost 2 years ago)
- Last Synced: 2025-12-22T19:09:07.809Z (3 days ago)
- Versions: 7
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 5.401%
- Average: 5.583%
- Dependent repos count: 5.764%
proxy.golang.org: github.com/CmlMagneville/mFD
- Homepage:
- Documentation: https://pkg.go.dev/github.com/CmlMagneville/mFD#section-documentation
- Licenses: gpl-2.0
- Latest release: v1.0.7 (published almost 2 years ago)
- Last Synced: 2025-12-22T19:09:09.596Z (3 days ago)
- Versions: 7
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 5.401%
- Average: 5.583%
- Dependent repos count: 5.764%
cran.r-project.org: mFD
Compute and Illustrate the Multiple Facets of Functional Diversity
- Homepage: https://cmlmagneville.github.io/mFD/
- Documentation: http://cran.r-project.org/web/packages/mFD/mFD.pdf
- Licenses: GPL-2
- Latest release: 1.0.7 (published almost 2 years ago)
- Last Synced: 2025-12-22T19:09:08.764Z (3 days ago)
- Versions: 8
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 1,919 Last month
-
Rankings:
- Forks count: 12.823%
- Stargazers count: 15.074%
- Average: 23.418%
- Downloads: 23.94%
- Dependent packages count: 29.797%
- Dependent repos count: 35.455%
- Maintainers (1)
Dependencies
- R >= 3.5 depends
- FactoMineR * imports
- Hmisc * imports
- ade4 * imports
- ape * imports
- betapart >= 1.5.4 imports
- cluster * imports
- dendextend * imports
- gawdis * imports
- geometry * imports
- ggplot2 * imports
- ggrepel * imports
- grid * imports
- patchwork * imports
- reshape2 * imports
- rstatix * imports
- stats * imports
- utils * imports
- vegan * imports
- dplyr >= 1.0.6 suggests
- knitr * suggests
- magrittr * suggests
- rmarkdown >= 2.6 suggests
- stringr * suggests
- tibble * suggests
- tidyr * suggests
- actions/checkout v2 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- actions/cache v2 composite
- actions/checkout v2 composite
- r-lib/actions/setup-pandoc v1 composite
- r-lib/actions/setup-r v1 composite
Score: 12.278579336316922