aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-01-09 23:06:05 +0100
committerRicardo Wurmus <rekado@elephly.net>2023-01-09 23:06:05 +0100
commit8e864f2a3bebe4fba48c21c2024c2349d30f6f52 (patch)
treed6e99c167f8e1e45180f5ef38c0f65e8b06c489a /gnu/packages/cran.scm
parent51e79fe737d7442b84f71960140f43fa4c0a7d72 (diff)
downloadguix-8e864f2a3bebe4fba48c21c2024c2349d30f6f52.tar
guix-8e864f2a3bebe4fba48c21c2024c2349d30f6f52.tar.gz
gnu: Add r-clustergeneration.
* gnu/packages/cran.scm (r-clustergeneration): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 9d21e0529c..defa68e095 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -14612,6 +14612,31 @@ vector giving the index of the cluster each observation belongs to.")
algorithms, clusterings, and individual clusters.")
(license license:expat)))
+(define-public r-clustergeneration
+ (package
+ (name "r-clustergeneration")
+ (version "1.3.7")
+ (source (origin
+ (method url-fetch)
+ (uri (cran-uri "clusterGeneration" version))
+ (sha256
+ (base32
+ "0p1dwl08bf20h7pnspnsycrp3v48nm2miwcnlklyc4gdyzc2jksk"))))
+ (properties `((upstream-name . "clusterGeneration")))
+ (build-system r-build-system)
+ (propagated-inputs (list r-mass))
+ (home-page "https://cran.r-project.org/package=clusterGeneration")
+ (synopsis "Random cluster generation (with specified degree of separation)")
+ (description
+ "The clusterGeneration package provides functions for generating random
+clusters, generating random covariance/correlation matrices, calculating a
+separation index (data and population version) for pairs of clusters or
+cluster distributions, and 1-D and 2-D projection plots to visualize clusters.
+The package also contains a function to generate random clusters based on
+factorial designs with factors such as degree of separation, number of
+clusters, number of variables, number of noisy variables.")
+ (license license:gpl2+)))
+
(define-public r-tweedie
(package
(name "r-tweedie")