divent: An R Package for Diversity Measures Based on Entropy

divent is an R package dedicated to the measurement of diversity in general, and biodiversity in particular.It provides functions to estimate 𝛼, 𝛽 and 𝛾 diversity of communities, including phylogenetic and functional diversity.It is a reboot of the entropart R package to make it easier to use and computationally more efficient.It also extends its functionality.Data may be abundance vectors or matrices (the number of individuals per species, possibly per site), lists of individuals, or point patterns to address spatially-explicit diversity.Random communities can be simulated (function rcommunity()) and spatialized (function rspcommunity()).The main functions allow computing:• Taxonomic entropy: HCDT entropy (ent_tsallis()) including Shannon and Simpson's entropies.• Phylogenetic (ent_phylo()) or functional (ent_similarity()) entropy when dissimilarities between species are taken into account in a dendrogram or a similarity matrix.• Effective numbers of species, aka Hill numbers, for all entropies (div_hill(), div_phylo(), div_similarity()).• Diversity partitioning (div_part()), i.e. 𝛼, 𝛽 and 𝛾 diversity of a set of communities.• Diversity profiles (profile_hill(), profile_phylo(), profile_similarity()), with respect to the order of diversity.• Diversity accumulation curves (accum_hill()) with respect to the sample size or coverage.• Spatial accumulation of diversity (accum_sp_hill()) with respect to the distance from individuals, with maps (plot_map()).Many estimators are proposed, with sensible automatic choice, to deal with incomplete sampling. Statement of needMeasuring biological diversity (Magurran, 2004) has been a theoretical and empirical challenge for decades.A consensus emerged (Jost, 2006) to derive it from the theory of information (Shannon, 1948).Individuals are sampled and their species is recorded.Entropy is the expected amount of information brought by an individual.Generalized entropy (Tsallis, 1988) allows choosing the balance between rare and abundant species.Classical indices of biodiversity such as Shannon's and Simpson's indices are just special cases of generalized entropy.Phylogenetic and functional entropy extend the definition taking into account the dissimilarity between species summarized respectively in a dendrogram (Marcon & Hérault,

Authors

Institutions

Publication Details

Journal
The Journal of Open Source Software
Published
2026-11-17
DOI
https://doi.org/10.21105/joss.10860
Primary Topic
Ecology and Vegetation Dynamics Studies
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

divent: An R Package for Diversity Measures Based on Entropy

Éric Marcon, Florence Puech
1 links
The Journal of Open Source Software
Ecology and Vegetation Dynamics Studies
article

divent: An R Package for Diversity Measures Based on Entropy

Éric Marcon, Florence Puech
article en

Abstract

divent is an R package dedicated to the measurement of diversity in general, and biodiversity in particular.It provides functions to estimate 𝛼, 𝛽 and 𝛾 diversity of communities, including phylogenetic and functional diversity.It is a reboot of the entropart R package to make it easier to use and computationally more efficient.It also extends its functionality.Data may be abundance vectors or matrices (the number of individuals per species, possibly per site), lists of individuals, or point patterns to address spatially-explicit diversity.Random communities can be simulated (function rcommunity()) and spatialized (function rspcommunity()).The main functions allow computing:• Taxonomic entropy: HCDT entropy (ent_tsallis()) including Shannon and Simpson's entropies.• Phylogenetic (ent_phylo()) or functional (ent_similarity()) entropy when dissimilarities between species are taken into account in a dendrogram or a similarity matrix.• Effective numbers of species, aka Hill numbers, for all entropies (div_hill(), div_phylo(), div_similarity()).• Diversity partitioning (div_part()), i.e. 𝛼, 𝛽 and 𝛾 diversity of a set of communities.• Diversity profiles (profile_hill(), profile_phylo(), profile_similarity()), with respect to the order of diversity.• Diversity accumulation curves (accum_hill()) with respect to the sample size or coverage.• Spatial accumulation of diversity (accum_sp_hill()) with respect to the distance from individuals, with maps (plot_map()).Many estimators are proposed, with sensible automatic choice, to deal with incomplete sampling. Statement of needMeasuring biological diversity (Magurran, 2004) has been a theoretical and empirical challenge for decades.A consensus emerged (Jost, 2006) to derive it from the theory of information (Shannon, 1948).Individuals are sampled and their species is recorded.Entropy is the expected amount of information brought by an individual.Generalized entropy (Tsallis, 1988) allows choosing the balance between rare and abundant species.Classical indices of biodiversity such as Shannon's and Simpson's indices are just special cases of generalized entropy.Phylogenetic and functional entropy extend the definition taking into account the dissimilarity between species summarized respectively in a dendrogram (Marcon & Hérault,

The Journal of Open Source SoftwareVol. 11(127)
Centre National de la Recherche Scientifique (FR), Centre de Coopération Internationale en Recherche Agronomique pour le Développement (FR), Université de Montpellier (FR), AgroParisTech (FR), Université Paris-Saclay (FR), Institut National de Recherche pour l'Agriculture, l'Alimentation et l'Environnement (FR), UMR Botanique et Modélisation de l’Architecture des Plantes et des végétations (FR), Institut de Recherche pour le Développement (FR), Paris-Saclay Applied Economics (FR)
Agence Nationale de la Recherche, CHIST-ERA
Ecology and Vegetation Dynamics Studies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon