aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-10-25 05:15:56 +0200
committerRicardo Wurmus <rekado@elephly.net>2018-10-25 05:17:42 +0200
commit63fcb88a502054b38cca0e7c4db83529800282f7 (patch)
tree4ae8b71f542b502d7f5a5dd39ca988d6d8876c93 /gnu
parent55a08dceb5c1522dcbcb2c49a2ca8f261abe8747 (diff)
downloadpatches-63fcb88a502054b38cca0e7c4db83529800282f7.tar
patches-63fcb88a502054b38cca0e7c4db83529800282f7.tar.gz
gnu: Add r-pwr.
* gnu/packages/cran.scm (r-pwr): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm21
1 files changed, 21 insertions, 0 deletions
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+)))