From 87219fced97d6359ac43017804347e79b3d2b0d1 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Mon, 16 Nov 2020 12:58:22 +0100 Subject: [PATCH 2/9] gnu: Add r-metafor. * gnu/packages/cran.scm (r-metafor): New variable. --- gnu/packages/cran.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index eb8ce230d4..59f018c123 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -24680,3 +24680,40 @@ parabolic or user defined by custom scale factors.") preregistration documents for scientific studies in PDF format.") (license license:gpl3))) +(define-public r-metafor + (package + (name "r-metafor") + (version "2.4-0") + (source + (origin + (method url-fetch) + (uri (cran-uri "metafor" version)) + (sha256 + (base32 + "1b599fxk7s0brkchmx698fr5k4g1kzkia2rnlvhg349ffs5nfjmn")))) + (properties `((upstream-name . "metafor"))) + (build-system r-build-system) + (propagated-inputs + `(("r-matrix" ,r-matrix) ("r-nlme" ,r-nlme))) + (home-page + "https://cran.r-project.org/web/packages/metafor") + (synopsis "Meta-Analysis Package for R") + (description + "This package provides a comprehensive collection of functions for +conducting meta-analyses in R. The package includes functions to calculate +various effect sizes or outcome measures, fit fixed-, random-, and +mixed-effects models to such data, carry out moderator and meta-regression +analyses, and create various types of meta-analytical plots (e.g., forest, +funnel, radial, L'Abbe, Baujat, GOSH plots). For meta-analyses of binomial and +person-time data, the package also provides functions that implement +specialized methods, including the Mantel-Haenszel method, Peto's method, and a +variety of suitable generalized linear (mixed-effects) models (i.e., +mixed-effects logistic and Poisson regression models). Finally, the package +provides functionality for fitting meta-analytic multivariate/multilevel models +that account for non-independent sampling errors and/or true effects (e.g., due +to the inclusion of multiple treatment studies, multiple endpoints, or other +forms of clustering). Network meta-analyses and meta-analyses accounting for +known correlation structures (e.g., due to phylogenetic relatedness) can also +be conducted.") + (license license:gpl2+))) + -- 2.25.1