diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2023-01-09 23:06:05 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2023-01-09 23:06:05 +0100 |
commit | 8e864f2a3bebe4fba48c21c2024c2349d30f6f52 (patch) | |
tree | d6e99c167f8e1e45180f5ef38c0f65e8b06c489a | |
parent | 51e79fe737d7442b84f71960140f43fa4c0a7d72 (diff) | |
download | guix-8e864f2a3bebe4fba48c21c2024c2349d30f6f52.tar guix-8e864f2a3bebe4fba48c21c2024c2349d30f6f52.tar.gz |
gnu: Add r-clustergeneration.
* gnu/packages/cran.scm (r-clustergeneration): New variable.
-rw-r--r-- | gnu/packages/cran.scm | 25 |
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") |