guix-commits
[Top][All Lists]
Advanced

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

03/05: gnu: Add r-simr.


From: guix-commits
Subject: 03/05: gnu: Add r-simr.
Date: Mon, 21 Feb 2022 06:45:49 -0500 (EST)

lbraun pushed a commit to branch master
in repository guix.

commit 40e927b6aa43ec109f67d66635ce2c29386e06dc
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Fri Feb 18 13:40:32 2022 +0100

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

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 8c354d9363..ef2ecea8de 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -6981,3 +6981,36 @@ the presence of variance components/nonparametric terms 
for models fit with
       "Constructs confidence intervals on the probability of success in a 
binomial
 experiment via several parameterizations")
     (license (list license:gpl2+ license:gpl3+))))
+
+(define-public r-simr
+  (package
+    (name "r-simr")
+    (version "1.0.5")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "simr" version))
+        (sha256
+          (base32 "1j5w93iliykfnpxl9kzh1rp6d3iy26ksj3j7yjl348yvplh0iyjl"))))
+    (properties `((upstream-name . "simr")))
+    (build-system r-build-system)
+    (propagated-inputs
+      (list r-binom
+            r-car
+            r-iterators
+            r-lme4
+            r-pbkrtest
+            r-plotrix
+            r-plyr
+            r-rlrsim
+            r-stringr))
+    (native-inputs (list r-knitr))
+    (home-page "https://github.com/pitakakariki/simr";)
+    (synopsis
+      "Power Analysis for Generalised Linear Mixed Models by Simulation")
+    (description
+      "Calculate power for generalised linear mixed models, using
+simulation.  Designed to work with models fit using the
+@code{lme4} package.  Described in @url{doi:10.1111/2041-210X.12504,
+Green and MacLeod (2016)}.")
+    (license license:gpl2+)))



reply via email to

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