guix-commits
[Top][All Lists]
Advanced

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

19/19: gnu: Add r-mcmc.


From: guix-commits
Subject: 19/19: gnu: Add r-mcmc.
Date: Wed, 9 Jan 2019 11:14:12 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit cba08f60a1c887569b13f6edac5cf92952d80fa3
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Jan 9 17:12:21 2019 +0100

    gnu: Add r-mcmc.
    
    * gnu/packages/cran.scm (r-mcmc): New variable.
---
 gnu/packages/cran.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 9947ff3..24d1ee8 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -10361,3 +10361,27 @@ different regularized regression methods: lasso, 
adaptive lasso, PLS, and
 Ridge Regression.  In addition, the package provides model selection for
 lasso, adaptive lasso and Ridge regression based on cross-validation.")
     (license license:gpl2+)))
+
+(define-public r-mcmc
+  (package
+    (name "r-mcmc")
+    (version "0.9-5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "mcmc" version))
+       (sha256
+        (base32
+         "1i3rahph8pbhi5dsyjnkazqklg4lhh3azlyvx4kvabx50q0awxn6"))))
+    (build-system r-build-system)
+    (home-page "http://www.stat.umn.edu/geyer/mcmc/";)
+    (synopsis "Markov chain Monte Carlo")
+    (description
+     "This package simulates continuous distributions of random vectors using
address@hidden chain Monte Carlo} (MCMC).  Users specify the distribution by an 
R
+function that evaluates the log unnormalized density.  Algorithms are random
+walk Metropolis algorithm (function @code{metrop}), simulated
+tempering (function @code{temper}), and morphometric random walk
+Metropolis (function @code{morph.metrop}), which achieves geometric ergodicity
+by change of variable.")
+    (license license:expat)))



reply via email to

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