aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>2022-12-05 18:27:24 +0100
committerRicardo Wurmus <rekado@elephly.net>2022-12-12 15:48:03 +0100
commitec2388d6b4f4aa8973855987163c90d1f13f62b9 (patch)
tree675c8c2f4ffa262a4e22e5b4b3b43c036172244a
parent8363719476f9bf5e4170435ad89d71f595d85853 (diff)
downloadguix-ec2388d6b4f4aa8973855987163c90d1f13f62b9.tar.gz
guix-ec2388d6b4f4aa8973855987163c90d1f13f62b9.zip
gnu: Add r-clustercrit.
* gnu/packages/cran.scm (r-clustercrit): New variable.
-rw-r--r--gnu/packages/cran.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 5c5258d6e0..bf2bba2412 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -14094,6 +14094,30 @@ problems into least squares ones first.")
exact and interval-censored observations.")
(license license:gpl2+)))
+(define-public r-clustercrit
+ (package
+ (name "r-clustercrit")
+ (version "1.2.8")
+ (source (origin
+ (method url-fetch)
+ (uri (cran-uri "clusterCrit" version))
+ (sha256
+ (base32
+ "10pz1bikdbkm2ky3xnagp0qv60whalavp6j39b4p7d75jj5xcxgk"))))
+ (properties `((upstream-name . "clusterCrit")))
+ (build-system r-build-system)
+ (native-inputs (list gfortran))
+ (home-page "https://www.r-project.org/")
+ (synopsis "Computing clustering validation indices")
+ (description
+ "The @code{clusterCrit} package provides an implementation of the
+following indices: Czekanowski-Dice, Folkes-Mallows, Hubert Γ, Jaccard,
+McNemar, Kulczynski, Phi, Rand, Rogers-Tanimoto, Russel-Rao or Sokal-Sneath.
+ClusterCrit defines several functions which compute internal quality indices
+or external comparison indices. The partitions are specified as an integer
+vector giving the index of the cluster each observation belongs to.")
+ (license license:gpl2+)))
+
(define-public r-clusteval
(package
(name "r-clusteval")