From 5828dd030b4cf3920573f7982420999aa5743100 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 17 Dec 2019 19:18:11 +0100 Subject: gnu: Add r-poibin. * gnu/packages/cran.scm (r-poibin): New variable. --- gnu/packages/cran.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 795e5db4f1..24eade12ec 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))) -- cgit v1.2.3