rekado pushed a commit to branch master
in repository guix.
commit 64abd24517acbc43daf13bbdb1f73f547649c90b
Author: Ricardo Wurmus <[email protected]>
Date: Wed Jul 4 17:41:05 2018 +0200
gnu: Add r-biasedurn.
* gnu/packages/cran.scm (r-biasedurn): 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 f4a794a..77f27c3 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -4523,3 +4523,26 @@ patterned after functions in the snow package.")
"This package provides a data frame to xlsx exporter based on
libxlsxwriter.")
(license license:bsd-2)))
+
+(define-public r-biasedurn
+ (package
+ (name "r-biasedurn")
+ (version "1.07")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "BiasedUrn" version))
+ (sha256
+ (base32
+ "13i2lgfnjhlbbm2yxfc2l5hswqw6x03pwba5csjmirv8kpjw4xr3"))))
+ (properties `((upstream-name . "BiasedUrn")))
+ (build-system r-build-system)
+ (home-page "https://cran.r-project.org/web/packages/BiasedUrn/")
+ (synopsis "Biased Urn model distributions")
+ (description
+ "This package provides statistical models of biased sampling in the form
+of univariate and multivariate noncentral hypergeometric distributions,
+including Wallenius' noncentral hypergeometric distribution and Fisher's
+noncentral hypergeometric distribution (also called extended hypergeometric
+distribution).")
+ (license license:gpl3)))