From 26117c6046a3f1e46a256df82d9246fd5fb782a5 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 1 Jul 2021 16:04:01 +0200 Subject: gnu: Add r-mcmcpack. * gnu/packages/cran.scm (r-mcmcpack): New variable. Co-authored-by: Marcel Schilling --- gnu/packages/cran.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 11864bd13c..b31a88fc3c 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -17933,6 +17933,38 @@ than available RAM. All core functions are parallelized to benefit from multicore machines.") (license license:gpl2+))) +(define-public r-mcmcpack + (package + (name "r-mcmcpack") + (version "1.5-0") + (source + (origin + (method url-fetch) + (uri (cran-uri "MCMCpack" version)) + (sha256 + (base32 + "1khavqsimiwbfq7gyw5jyj67jxfd579pnc7mngnd655zc8yzspvr")))) + (properties `((upstream-name . "MCMCpack"))) + (build-system r-build-system) + (propagated-inputs + `(("r-coda" ,r-coda) + ("r-lattice" ,r-lattice) + ("r-mass" ,r-mass) + ("r-mcmc" ,r-mcmc) + ("r-quantreg" ,r-quantreg))) + (home-page "https://cran.r-project.org/package=MCMCpack") + (synopsis "Markov Chain Monte Carlo (MCMC) package") + (description + "This package contains functions to perform Bayesian inference using +posterior simulation for a number of statistical models. Most simulation is +done in compiled C++ written in the Scythe Statistical Library. All models +return @code{coda} @code{mcmc} objects that can then be summarized using the +@code{coda} package. Some useful utility functions such as density functions, +pseudo-random number generators for statistical distributions, a general +purpose Metropolis sampling algorithm, and tools for visualization are +provided.") + (license license:gpl3))) + (define-public r-xmlparsedata (package (name "r-xmlparsedata") -- cgit v1.2.3