guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/09: gnu: Add r-entropy.


From: guix-commits
Subject: 03/09: gnu: Add r-entropy.
Date: Tue, 16 Jun 2020 03:34:03 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit b1a7a3bb78e3f47af04019ce7a8a1738a4b64366
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Jun 16 09:17:02 2020 +0200

    gnu: Add r-entropy.
    
    * gnu/packages/cran.scm (r-entropy): New variable.
---
 gnu/packages/cran.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 4afe9d4..3d50279 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -6688,6 +6688,31 @@ Functions are provided for the construction of 
confidence intervals for the
 reduced-bias estimates.")
     (license license:gpl2+)))
 
+(define-public r-entropy
+  (package
+    (name "r-entropy")
+    (version "1.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "entropy" version))
+       (sha256
+        (base32
+         "10vg4818q5g54pv2nn9x5i7pvky5nsv96syy47pz2mgqp1273cpd"))))
+    (properties `((upstream-name . "entropy")))
+    (build-system r-build-system)
+    (home-page "https://www.strimmerlab.org/software/entropy/";)
+    (synopsis "Estimation of entropy, mutual information and related 
quantities")
+    (description
+     "This package implements various estimators of entropy, such as the
+shrinkage estimator by Hausser and Strimmer, 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,
+it provides functions for estimating Kullback-Leibler divergence, chi-squared,
+mutual information, and chi-squared statistic of independence.  In addition
+there are functions for discretizing continuous random variables.")
+    (license license:gpl3+)))
+
 (define-public r-abn
   (package
     (name "r-abn")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]