Skip to content

DiversityStats

Diversity Indices with Statistical Inference

v0.1.0 · May 4, 2026 · GPL (>= 2)

Description

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.

Downloads

CRAN

440

Last 30 days

9027th

905

Last 90 days

905

Last year

Trend: -5.4% (30d vs prior 30d)

r2u CRAN

16

Last 30 days

16

Last 90 days

16

Last year

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

examples

Running examples in ‘DiversityStats-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: bootstrap.ci
> ### Title: Bootstrap Confidence Intervals
> ### Aliases: bootstrap.ci
> 
> ### ** Examples
> 
> library(EvaluateCore)
Error in library(EvaluateCore) : 
  there is no package called ‘EvaluateCore’
Execution halted
OK 6 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 5, 2026

Reverse Dependencies (1)

imports

Dependency Network

Dependencies Reverse dependencies boot dplyr mathjaxr multcompView Rdpack tidyr SampleCore DiversityStats

Version History

1 tracked
new 0.1.0 May 4, 2026