From 962c7ceff5c6497e23d26f44bd08147e4cb9646b Mon Sep 17 00:00:00 2001 From: Peter Lo Date: Mon, 29 Jun 2020 16:03:38 +0800 Subject: [PATCH] gnu: Add r-perm. * gnu/packages/cran.scm (r-perm): New variable. Co-authored-by: Ricardo Wurmus --- gnu/packages/cran.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index d67dcc9e93..f3693fbec5 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -24213,3 +24213,26 @@ (define-public r-mlecens censored data with competing risks (see data set @code{menopause}). The package also provides functions to visualize the observed data and the MLE.") (license license:gpl2+))) + +(define-public r-perm + (package + (name "r-perm") + (version "1.0-0.0") + (source + (origin + (method url-fetch) + (uri (cran-uri "perm" version)) + (sha256 + (base32 + "0075awl66ynv10vypg63fcxk33qzvxddrp8mi4w08ysvimcyxijk")))) + (properties `((upstream-name . "perm"))) + (build-system r-build-system) + (home-page "https://cran.r-project.org/web/packages/perm/") + (synopsis "Exact or asymptotic permutation tests") + (description + "This package provides several methods for performing permutation tests. +It has three main functions, to perform linear permutation tests. These tests +are tests where the test statistic is the sum of the product of a +covariate (usually group indicator) and the scores.") + ;; Any version of the GPL + (license license:gpl2+)))