guix-commits
[Top][All Lists]
Advanced

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

07/07: gnu: Add r-bayesfactor.


From: guix-commits
Subject: 07/07: gnu: Add r-bayesfactor.
Date: Wed, 26 May 2021 08:15:33 -0400 (EDT)

lbraun pushed a commit to branch master
in repository guix.

commit b085abbeb8edf1fccc1a3aa5b11345e425fdf22f
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Tue May 18 14:11:14 2021 +0200

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

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 8b7b25e..90103ce 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -6214,3 +6214,38 @@ interface).  The recommended routine @code{logspline()} 
uses an algorithm from
       "Graphical and tabular effect displays, e.g., of interactions, for
 various statistical models with linear predictors.")
     (license license:gpl2+)))
+
+(define-public r-bayesfactor
+  (package
+    (name "r-bayesfactor")
+    (version "0.9.12-4.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "BayesFactor" version))
+        (sha256
+          (base32
+            "1z083v7is21gm0a458jm5ph3xfdm7mh29a6sg2r1njq82f8x3s3g"))))
+    (properties `((upstream-name . "BayesFactor")))
+    (build-system r-build-system)
+    (propagated-inputs
+      `(("r-coda" ,r-coda)
+        ("r-gtools" ,r-gtools)
+        ("r-hypergeo" ,r-hypergeo)
+        ("r-matrix" ,r-matrix)
+        ("r-matrixmodels" ,r-matrixmodels)
+        ("r-mvtnorm" ,r-mvtnorm)
+        ("r-pbapply" ,r-pbapply)
+        ("r-rcpp" ,r-rcpp)
+        ("r-rcppeigen" ,r-rcppeigen)
+        ("r-stringr" ,r-stringr)))
+    (native-inputs `(("r-knitr" ,r-knitr)))
+    (home-page
+      "https://richarddmorey.github.io/BayesFactor/";)
+    (synopsis
+      "Computation of Bayes Factors for Common Designs")
+    (description
+      "This package provides a suite of functions for computing various Bayes
+factors for simple designs, including contingency tables, one- and two-sample
+designs, one-way designs, general ANOVA designs, and linear regression.")
+    (license license:gpl2)))



reply via email to

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