diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2022-02-18 13:40:32 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2022-02-21 10:41:25 +0100 |
commit | 40e927b6aa43ec109f67d66635ce2c29386e06dc (patch) | |
tree | c708449858ffaf40e6c5f0b3e2edc5e3ee26927f | |
parent | 806214261313ddfdc0682c361c316888678592c2 (diff) |
gnu: Add r-simr.
* gnu/packages/statistics.scm (r-simr): New variable.
-rw-r--r-- | gnu/packages/statistics.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 8c354d93638..ef2ecea8de0 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+))) |