Skip to content

entropy

1.3.2

Estimation of Entropy, Mutual Information and Related Quantities

45packages depend
139.8Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Korbinian StrimmerFirst published 2008-09-0316 releasesCRAN page ↗

Implements various estimators of entropy for discrete random variables, including the shrinkage estimator by Hausser and Strimmer (2009), the maximum likelihood and the Millow-Madow estimator, various Bayesian estimators, and the Chao-Shen estimator. It also offers an R interface to the NSB estimator. Furthermore, the package provides functions for estimating the Kullback-Leibler divergence, the chi-squared divergence, mutual information, and the chi-squared divergence of independence. It also computes the G statistic and the chi-squared statistic and corresponding p-values. Furthermore, there are functions for discretizing continuous random variables.

Install

Health

CRAN checks
13OK
Slowest check: 46 s · r-devel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
0
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 33% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
98%
Return-value docs
100%
References docs
43%

Downloads

139.8K
CRAN downloads in the past year
Rank #1,224 · ~383/day · ~11.6K/mo
Daily download trend is not available in this view yet.
9.8K30 days
27.2K90 days
139.8K1 year
Compare downloads with other packages →
Also on587 r2u11 autocran3.6K conda_forge82 c2d4u

Repository

Repository practices

Upstream repositoryBeta

Repository github.com/strimmerlab/software is linked, but repository-practices checks have not run for it yet.

How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
0 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.4.0
Imports (0)
none
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none

Code & Tests

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Author · added in 1.1.3
Listed in earlier versions (1)
no longer listed · 1.0.0 to 1.1.2
Package Timeline

16 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.3.2Latest
    2025-04-08 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 1.3.1
    2021-10-02 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 1.3.0
    2021-04-25 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • 1.2.1
    2014-11-14 · diff ↗
Show 23 earlier events
  • R
    R 3.1.0 released · 2014-04-10
  • 1.2.0
    2013-07-16 · diff ↗
  • 1.1.9
    2013-06-22 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 1.1.8
    2013-03-25 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • 1.1.7
    2012-01-20 · diff ↗
  • R
    R 2.14.0 released · 2011-10-31
  • R
    R 2.13.0 released · 2011-04-13
  • 1.1.6
    2011-03-21 · diff ↗
  • R
    R 2.12.0 released · 2010-10-15
  • R
    R 2.11.0 released · 2010-04-22
  • 1.1.5
    2010-04-11 · diff ↗
  • R
    R 2.10.0 released · 2009-10-26
  • 1.1.4
    2009-08-08 · diff ↗
  • R
    R 2.9.0 released · 2009-04-17
  • 1.1.3
    2009-01-09 · diff ↗
  • 1.1.2
    2008-11-22 · diff ↗
  • 1.1.1
    2008-10-26 · diff ↗
  • R
    R 2.8.0 released · 2008-10-20
  • 1.1.0
    2008-09-29 · diff ↗
  • 1.0.0
    2008-09-03
  • R
    R 2.7.0 released · 2008-04-22

Package metadata

First published
2008-09-03
Total releases
16 / 18 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 3.4.0
Download size
15 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("entropy")
Strimmer, K., & Hausser, J. (2025). entropy: Estimation of Entropy, Mutual Information and Related Quantities (Version 1.3.2) [Computer software]. https://doi.org/10.32614/CRAN.package.entropy

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for entropy version 1.3.2 [Data set]. HJJB, LLC. Data release v2026-08-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy