EconPapers    
Economics at your fingertips  
 

divent: An R Package for Diversity Measures Based on Entropy

divent: un package R pour les mesures de diversité basées sur l'entropie

Eric Marcon () and Florence Puech ()
Additional contact information
Eric Marcon: UMR AMAP - Botanique et Modélisation de l'Architecture des Plantes et des Végétations - Cirad - Centre de Coopération Internationale en Recherche Agronomique pour le Développement - CNRS - Centre National de la Recherche Scientifique - IRD [Occitanie] - Institut de Recherche pour le Développement - délégation Occitanie - IRD - Institut de Recherche pour le Développement - INRAE - Institut National de Recherche pour l’Agriculture, l’Alimentation et l’Environnement - UM - Université de Montpellier, AgroParisTech
Florence Puech: UMR PSAE - Paris-Saclay Applied Economics - AgroParisTech - Université Paris-Saclay - INRAE - Institut National de Recherche pour l’Agriculture, l’Alimentation et l’Environnement

Post-Print from HAL

Abstract: divent is an R package dedicated to the measurement of diversity in general, and biodiversity in particular. It provides functions to estimate alpha, bêta and gamma 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. alpha, bêta and gamma 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.

Date: 2026-11-17
References: Add references at CitEc
Citations:

Published in Journal of Open Source Software, 2026, 11 (127), pp.10860. ⟨10.21105/joss.10860⟩

There are no downloads for this item, see the EconPapers FAQ for hints about obtaining it.

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:hal:journl:hal-05877225

DOI: 10.21105/joss.10860

Access Statistics for this paper

More papers in Post-Print from HAL
Bibliographic data for series maintained by CCSD ().

 
Page updated 2026-12-01
Handle: RePEc:hal:journl:hal-05877225