Skip to content

shannon

0.2.0

Computation of Entropy Measures and Relative Loss

0packages depend
2Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Muhammad ImranFirst published 2024-08-261 releasesCRAN page ↗

The functions allow for the numerical evaluation of some commonly used entropy measures, such as Shannon entropy, Rényi entropy, Havrda and Charvat entropy, and Arimoto entropy, at selected parametric values from several well-known and widely used probability distributions. Moreover, the functions also compute the relative loss of these entropies using the truncated distributions. Related works include: Awad, A. M., & Alawneh, A. J. (1987). Application of entropy to a life-time model. IMA Journal of Mathematical Control and Information, 4(2), 143-148. doi:10.1093/imamci/4.2.143.

Install

Health

CRAN checks
13OK
Slowest check: 1.6 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
3
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
100%

Downloads

2K
CRAN downloads in the past year
Rank #20,047 · ~6/day · ~169/mo
Daily download trend is not available in this view yet.
22630 days
60290 days
2K1 year
Compare downloads with other packages →
Also on97 r2u25 autocran

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.0
Imports (3)
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 3,123 (51%)Rd 3,042 (49%)
Code characteristics
Cyclomatic complexity
3.0 median / 5 max

Test coverage

Line coverage

Expression

Tests / Examples

Functions

175 175 exported

Complexity

2.9 avg / 5 max

Call network

175 nodes / 68 edges

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (3)
Author, Maintainer
Package Timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.0Latest
    2026-03-10 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2024-08-26
Total releases
1 / 2 yrs
License
GPL-2 OSI
Minimum R
≥ 4.0
Download size
23 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →