From 055dea79291dded20eafd42eb987445cbdf736b8 Mon Sep 17 00:00:00 2001
From: Eric Brown <ecbrown@ericcbrown.com>
Date: Fri, 17 Apr 2020 15:12:49 -0500
Subject: [PATCH] r-bridgesampling.scm
---
gnu/packages/cran.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
@@ -21102,3 +21102,35 @@ client).")
designs with and without early outcomes for treatment selection and
subpopulation type designs.")
(license license:gpl3)))
+
+(define-public r-bridgesampling
+ (package
+ (name "r-bridgesampling")
+ (version "1.0-0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "bridgesampling" version))
+ (sha256
+ (base32
+ "1awhvv0v42w2q6llqi1wqpaiv5zx74cqzigdsvphy2jfp8ajw64y"))))
+ (properties
+ `((upstream-name . "bridgesampling")))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-brobdingnag" ,r-brobdingnag)
+ ("r-coda" ,r-coda)
+ ("r-matrix" ,r-matrix)
+ ("r-mvtnorm" ,r-mvtnorm)
+ ("r-scales" ,r-scales)
+ ("r-stringr" ,r-stringr)))
+ (native-inputs `(("r-knitr" ,r-knitr)))
+ (home-page
+ "https://github.com/quentingronau/bridgesampling")
+ (synopsis
+ "Bridge Sampling for Marginal Likelihoods and Bayes Factors")
+ (description
+ "This package provides functions for estimating marginal likelihoods, Bayes
+factors, posterior model probabilities, and normalizing constants in general,
+via different versions of bridge sampling.")
+ (license license:gpl2+)))
--
2.26.1