gnu: Add r-clusterr.

* gnu/packages/cran.scm (r-clusterr): New variable.
This commit is contained in:
Ricardo Wurmus 2020-08-14 14:44:40 +02:00
parent a86f51dcca
commit 35b1ba704a
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -22980,3 +22980,49 @@ (define-public r-rfast
maximums, many t, F and G-square tests, many regressions (normal, logistic,
Poisson), are some of the many fast functions.")
(license license:gpl2+)))
(define-public r-clusterr
(package
(name "r-clusterr")
(version "1.2.2")
(source
(origin
(method url-fetch)
(uri (cran-uri "ClusterR" version))
(sha256
(base32
"1ky172bk15a78hky77vl60j7c81nq2495sxjrv53is25nkac7sjm"))))
(properties `((upstream-name . "ClusterR")))
(build-system r-build-system)
(propagated-inputs
`(("r-ggplot2" ,r-ggplot2)
("r-gmp" ,r-gmp)
("r-gtools" ,r-gtools)
("r-rcpp" ,r-rcpp)
("r-rcpparmadillo" ,r-rcpparmadillo)))
(native-inputs `(("r-knitr" ,r-knitr)))
(home-page "https://github.com/mlampros/ClusterR")
(synopsis "Clustering")
(description
"This package provides Gaussian mixture models, k-means,
mini-batch-kmeans, k-medoids and affinity propagation clustering with the
option to plot, validate, predict (new data) and estimate the optimal number
of clusters. The package takes advantage of @code{RcppArmadillo} to speed up
the computationally intensive parts of the functions. For more information,
see
@enumerate
@item \"Clustering in an Object-Oriented Environment\" by Anja Struyf, Mia
Hubert, Peter Rousseeuw (1997), Journal of Statistical Software,
@url{https://doi.org/10.18637/jss.v001.i04};
@item \"Web-scale k-means clustering\" by D. Sculley (2010), ACM Digital
Library, @url{https://doi.org/10.1145/1772690.1772862};
@item \"Armadillo: a template-based C++ library
for linear algebra\" by Sanderson et al (2016), The Journal of Open Source
Software, @url{https://doi.org/10.21105/joss.00026};
@item \"Clustering by Passing Messages Between Data Points\" by Brendan
J. Frey and Delbert Dueck, Science 16 Feb 2007: Vol. 315, Issue 5814,
pp. 972-976, @url{https://doi.org/10.1126/science.1136800}.
@end enumerate
")
(license license:gpl3)))