summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2016-03-31 15:37:52 +0200
committerRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2016-04-14 14:53:30 +0200
commit0926b8779fc340d893a041dc3cbdecc371c06c21 (patch)
tree7cd9966012ff59297639c531b10772f15789017f /gnu
parentb4d6f4089f0328c01e7c1c14abe288e69223a962 (diff)
downloadguix-0926b8779fc340d893a041dc3cbdecc371c06c21.tar.gz
gnu: Add r-cluster.
* gnu/packages/statistics.scm (r-cluster): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/statistics.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index fa5cb3686f..0c8fcc928d 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -965,6 +965,28 @@ database.")
 transformations.")
     (license license:expat)))
 
+(define-public r-cluster
+  (package
+    (name "r-cluster")
+    (version "2.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "cluster" version))
+       (sha256
+        (base32
+         "03jfczb3dwg57f164pya0b762xgyswyb9a7s33lw9i0s5dq72ri8"))))
+    (build-system r-build-system)
+    (inputs
+     `(("gfortran" ,gfortran)))
+    (home-page "http://cran.r-project.org/web/packages/cluster")
+    (synopsis "Methods for data cluster analysis")
+    (description
+     "This package provides tools that are useful in finding groups in data.
+It is based on the methods described in Kaufman and Rousseeuw (1990) \"Finding
+Groups in Data\".")
+    (license license:gpl2+)))
+
 (define-public r-chron
   (package
     (name "r-chron")