From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Woodcroft Subject: [PATCH] gnu: Add r-biased-urn. Date: Wed, 18 May 2016 21:55:42 +1000 Message-ID: <1463572542-29414-1-git-send-email-donttrustben@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54140) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3051-0001Rw-S4 for guix-devel@gnu.org; Wed, 18 May 2016 07:56:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b304w-0006qA-UM for guix-devel@gnu.org; Wed, 18 May 2016 07:55:58 -0400 Received: from mail-pf0-x22c.google.com ([2607:f8b0:400e:c00::22c]:34702) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b304w-0006q4-O1 for guix-devel@gnu.org; Wed, 18 May 2016 07:55:54 -0400 Received: by mail-pf0-x22c.google.com with SMTP id y69so17913954pfb.1 for ; Wed, 18 May 2016 04:55:54 -0700 (PDT) Received: from localhost.localdomain ([103.25.181.216]) by smtp.googlemail.com with ESMTPSA id os1sm3859845pac.48.2016.05.18.04.55.50 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 18 May 2016 04:55:52 -0700 (PDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/statistics.scm (r-biased-urn): New variable. --- gnu/packages/statistics.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 7b34832..58f5c9d 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2016 Efraim Flashner ;;; Copyright © 2016 Pjotr Prins ;;; Copyright © 2016 Roel Janssen +;;; Copyright © 2016 Ben Woodcroft ;;; ;;; This file is part of GNU Guix. ;;; @@ -2593,6 +2594,28 @@ directly from R. Once uploaded to a plotly account, plotly graphs (and the data behind them) can be viewed and modified in a web browser.") (license license:x11))) +(define-public r-biased-urn + (package + (name "r-biased-urn") + (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 "http://www.agner.org/random/") + (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+))) (define-public r-ztable (package -- 2.7.4