From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzjIy-0008Al-Ir for guix-patches@gnu.org; Tue, 11 Sep 2018 10:06:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzjIp-00072H-4e for guix-patches@gnu.org; Tue, 11 Sep 2018 10:06:12 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:32900) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fzjIo-00071g-OI for guix-patches@gnu.org; Tue, 11 Sep 2018 10:06:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fzjIo-0002d7-Eu for guix-patches@gnu.org; Tue, 11 Sep 2018 10:06:02 -0400 Subject: [bug#32701] [PATCH 1/2] gnu: Add r-pscl. References: <918DDFCAA65E9447BD6F28DB666521DA99357D@DAGONE.mdc-berlin.net> In-Reply-To: <918DDFCAA65E9447BD6F28DB666521DA99357D@DAGONE.mdc-berlin.net> Resent-Message-ID: From: pimi Date: Tue, 11 Sep 2018 16:05:02 +0200 Message-ID: <20180911140503.13839-1-madalinionel.patrascu@mdc-berlin.de> MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 32701@debbugs.gnu.org Cc: pimi gnu/packages/cran.scm (r-pscl): New variable. --- gnu/packages/cran.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 0f39080b3..e3c813bf2 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -5871,3 +5871,29 @@ that are part of an activity bout, and find the maximum 10-minute average count value. The functions are generally very flexible, allowing for a variety of algorithms to be implemented.") (license license:gpl3))) + +(define-public r-pscl + (package + (name "r-pscl") + (version "1.5.2") + (source + (origin + (method url-fetch) + (uri (cran-uri "pscl" version)) + (sha256 + (base32 "1phf3awsfr4ncqfqzin5m1pz0g7y1zhbcm2sz7358ssw914fd7rc")))) + (build-system r-build-system) + (propagated-inputs + `(("r-mass" ,r-mass))) + (home-page "https://github.com/atahk/pscl/") + (synopsis "Political science computational laboratory") + (description + "The @code{pscl} is an R package providing classes and methods for: +@enumerate +@item Bayesian analysis of roll call data (item-response models); +@item elementary Bayesian statistics; +@item maximum likelihood estimation of zero-inflated and hurdle models for count +data; +@item utility functions. +@end enumerate") + (license license:gpl2))) -- 2.17.1