guix-commits
[Top][All Lists]
Advanced

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

02/20: gnu: Add r-poibin.


From: guix-commits
Subject: 02/20: gnu: Add r-poibin.
Date: Tue, 17 Dec 2019 14:02:31 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 5828dd030b4cf3920573f7982420999aa5743100
Author: Ricardo Wurmus <address@hidden>
Date:   Tue Dec 17 19:18:11 2019 +0100

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 795e5db..24eade1 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -18810,3 +18810,26 @@ nearest neighbors (kNN) of a data matrix.  The 
implementation is based on
 cover trees introduced by Alina Beygelzimer, Sham Kakade, and John
 Langford (2006) @url{doi:10.1145/1143844.1143857}.")
     (license license:agpl3+)))
+
+(define-public r-poibin
+  (package
+    (name "r-poibin")
+    (version "1.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "poibin" version))
+       (sha256
+        (base32
+         "1rllgmk7yanb5amysl33kmi11lx86q5kqblyb8qqb3ckj2w4jhm2"))))
+    (properties `((upstream-name . "poibin")))
+    (build-system r-build-system)
+    (home-page "https://cran.r-project.org/web/packages/poibin/";)
+    (synopsis "Poisson binomial distribution")
+    (description
+     "This package provides an implementation of both the exact and
+approximation methods for computing the @dfn{cumulative distribution
+function} (CDF) of the Poisson binomial distribution.  It also provides the
+@dfn{probability mass function} (PMF), quantile function, and random number
+generation for the Poisson binomial distribution.")
+    (license license:gpl2)))



reply via email to

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