Diversity Indices with Statistical Inference
Overview
Provides a comprehensive framework for analyzing diversity from frequency/abundance count data. Implements a wide range of classical and entropy-based diversity indices, including Berger-Parker, Simpson (and related variants), Shannon, Brillouin, McIntosh, Margalef, Menhinick and Smith-Wilson. Supports permutation-based hypothesis tests for comparing groups with respect to diversity (global and pairwise comparisons), as well as confidence interval estimation using multiple bootstrap methods. Includes functionality for generating diversity profiles based on parametric families such as Hill numbers, Rényi entropy, and Tsallis entropy. The methods are applicable to ecological community data (species abundance counts) and genetic or phenotypic class frequency data.
- First release
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK6 OK2026-05-05
Documentation
- Help pages
- 6
- Examples that run
- 100%5 run in a plain check
- Exported functions with examples
- 83%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 17% with a bibliography file
Downloads
Repository
Releases over time
10 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/aravind-j/diversitystats on 2026-10-25.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-06-07 · The repository has a site deploy workflow
pkgdown site last built 2026-06-07
Show all practicesHide 1 practice
Dependencies
Installing DiversityStats adds 24 packages (13 with compiled code, 22 MB of source tarballs). Heaviest: stringi 11 MB, mathjaxr 3.0 MB, rbibutils 1.1 MB.
Code & Tests
People & History
- 0.1.0Latest2026-05-04 · current release
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-05-04
- Total releases
- 1 / 1 yrs
- License
- GPL (>= 2) OSI
- Copyright
- 2025-2026, ICAR-NBPGR
- Minimum R
- ≥ 3.5
- Download size
- 495 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("DiversityStats")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
The repository also keeps a CITATION.cff.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.