summary refs log tree commit diff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-05-28 12:07:12 +0200
committerRicardo Wurmus <rekado@elephly.net>2022-05-28 23:19:04 +0200
commit39dab63790686558a1a69e75aa4bd6f1c1ea19c4 (patch)
tree42482c21bf4baf857f8f0e6d3e8f44a8e4999485 /gnu/packages/cran.scm
parentd723619fc30667514fea944256bd55afe5e219f0 (diff)
downloadguix-39dab63790686558a1a69e75aa4bd6f1c1ea19c4.tar.gz
gnu: Add r-dixontest.
* gnu/packages/cran.scm (r-dixontest): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index d020af5a5d..ba3aedbdef 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -347,6 +347,29 @@ visualization of their differences.")
     (description "This package implements Dirichlet regression models.")
     (license license:gpl2+)))
 
+(define-public r-dixontest
+  (package
+    (name "r-dixontest")
+    (version "1.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "dixonTest" version))
+       (sha256
+        (base32 "1a3yc30g5rbb0jhm2b0iir5i1dy4jyl67spkhx4yysg4snz131wv"))))
+    (properties `((upstream-name . "dixonTest")))
+    (build-system r-build-system)
+    (native-inputs (list gfortran))
+    (home-page "https://cran.r-project.org/package=dixonTest")
+    (synopsis "Dixon's ratio test for outlier detection")
+    (description
+     "For outlier detection in small and normally distributed samples the ratio
+test of Dixon (Q-test) can be used.  Density, distribution function, quantile
+function and random generation for Dixon's ratio statistics are provided as
+wrapper functions.  The core applies McBane's Fortran functions that use
+Gaussian quadrature for a numerical solution.")
+    (license license:gpl3)))
+
 (define-public r-emdist
   (package
     (name "r-emdist")