guix-devel
[Top][All Lists]
Advanced

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

[PATCH] gnu: Add r-coda.


From: Roel Janssen
Subject: [PATCH] gnu: Add r-coda.
Date: Tue, 03 May 2016 14:46:25 +0200
User-agent: mu4e 0.9.17; emacs 25.1.50.3

Dear Guix,

Here's another R package I would like to use with GNU Guix.

Thanks for your time.

Kind regards,
Roel Janssen


>From 1308ecf523c5d50bf345df9277e12e03336ce32c Mon Sep 17 00:00:00 2001
From: Roel Janssen <address@hidden>
Date: Tue, 3 May 2016 14:43:22 +0200
Subject: [PATCH] gnu: Add r-coda.

* gnu/packages/statistics.scm (r-coda): New variable.
---
 gnu/packages/statistics.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 3d0faf7..eb83a34 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -4,6 +4,7 @@
 ;;; Copyright © 2016 Andreas Enge <address@hidden>
 ;;; Copyright © 2016 Efraim Flashner <address@hidden>
 ;;; Copyright © 2016 Pjotr Prins <address@hidden>
+;;; Copyright © 2016 Roel Janssen <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1239,6 +1240,25 @@ inference for statistical models.")
        `(("python2-setuptools" ,python2-setuptools)
          ,@(package-native-inputs stats))))))
 
+(define-public r-coda
+  (package
+    (name "r-coda")
+    (version "0.18-1")
+    (source (origin
+      (method url-fetch)
+      (uri (cran-uri "coda" version))
+      (sha256
+       (base32 "03sc780734zj2kqcm8lkyvf76fql0jbfhkblpn8l58zmb6cqi958"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-lattice" ,r-lattice)))
+    (home-page "http://cran.r-project.org/web/packages/coda";)
+    (synopsis "This is a package for Output Analysis and Diagnostics for MCMC")
+    (description "Provides functions for summarizing and plotting the output
+from Markov Chain Monte Carlo (MCMC) simulations, as well as diagnostic tests
+of convergence to the equilibrium distribution of the Markov chain.")
+    (license license:gpl2+)))
+
 (define-public r-xml2
   (package
     (name "r-xml2")
-- 
2.7.4



reply via email to

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