Climate & Environmentarticle2026-11-17

divent: An R Package for Diversity Measures Based on Entropy

Open access0 citations

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,

// Source

View paper (DOI)Open access versionOpenAlexThe Journal of Open Source SoftwarePublished 2026-11-17

Authors: Ɖric Marcon, Florence Puech

Institutions: Institut National de Recherche pour l'Agriculture, l'Alimentation et l'Environnement, Centre National de la Recherche Scientifique, Université Paris-Saclay, Centre de Coopération Internationale en Recherche Agronomique pour le Développement, Institut de Recherche pour le Développement, Université de Montpellier, AgroParisTech, UMR Botanique et Modélisation de l’Architecture des Plantes et des végétations, Paris-Saclay Applied Economics