From 63fcb88a502054b38cca0e7c4db83529800282f7 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 25 Oct 2018 05:15:56 +0200 Subject: gnu: Add r-pwr. * gnu/packages/cran.scm (r-pwr): New variable. --- gnu/packages/cran.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index b89a477fbd..1510d0edb3 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -6377,3 +6377,24 @@ be used to compute contrasts or linear functions of EMMs, trends, and comparisons of slopes.") ;; Either version of the license. (license (list license:gpl2 license:gpl3)))) + +(define-public r-pwr + (package + (name "r-pwr") + (version "1.2-2") + (source + (origin + (method url-fetch) + (uri (cran-uri "pwr" version)) + (sha256 + (base32 + "0r5g781lr677vp3zyhgmi7r68c87l8gd05l1s3ffnxgn5wf043sm")))) + (build-system r-build-system) + (native-inputs + `(("r-knitr" ,r-knitr))) + (home-page "https://github.com/heliosdrm/pwr") + (synopsis "Basic functions for power analysis") + (description + "This package provides power analysis functions along the lines of +Cohen (1988).") + (license license:gpl3+))) -- cgit 1.4.1