summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-08-26 11:46:07 +0200
committerRicardo Wurmus <rekado@elephly.net>2021-08-26 11:46:07 +0200
commit03ed20e87b9460ad08522fd9d77af3293f03a7a9 (patch)
tree0acb07d994689889c6be6323d71cfadfdf821db0
parent71f3255faa24fe34adf4355b56143469bbfcaa92 (diff)
downloadguix-03ed20e87b9460ad08522fd9d77af3293f03a7a9.tar.gz
gnu: Add r-zoib.
* gnu/packages/cran.scm (r-zoib): New variable.
-rw-r--r--gnu/packages/cran.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index d47c4f198a..8dd37434f2 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -31349,3 +31349,29 @@ functions for working with the Zoltar API, including connecting and
 authenticating, getting information about projects, models, and forecasts,
 deleting and uploading forecast data, and downloading scores.")
     (license license:gpl3)))
+
+(define-public r-zoib
+  (package
+    (name "r-zoib")
+    (version "1.5.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "zoib" version))
+       (sha256
+        (base32
+         "0inm7f2pc68ksqxvq12xp9jc99vj7ydylvs24ip12nksbj5k1n8f"))))
+    (properties `((upstream-name . "zoib")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-abind" ,r-abind)
+       ("r-coda" ,r-coda)
+       ("r-formula" ,r-formula)
+       ("r-rjags" ,r-rjags)))
+    (home-page "https://www.r-project.org")
+    (synopsis "Bayesian inference for beta regression")
+    (description
+     "This package lets you fit beta regression and zero-or-one inflated beta
+regression and obtain Bayesian inference of the model via the Markov Chain
+Monte Carlo approach implemented in JAGS.")
+    (license license:gpl3+)))