aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaoul Jean Pierre Bonnal <ilpuccio.febo@gmail.com>2017-03-11 21:50:35 +1000
committerBen Woodcroft <donttrustben@gmail.com>2017-03-12 10:28:07 +1000
commitd1906e3147966e780d2f52d3ccebb85a80ad49e5 (patch)
tree9a4dbde04fa8d4ccece3b65829d56343f3c6aa3d
parent5a200a24ebdcc8c3e8459344d209495af9eac186 (diff)
downloadgnu-guix-d1906e3147966e780d2f52d3ccebb85a80ad49e5.tar
gnu-guix-d1906e3147966e780d2f52d3ccebb85a80ad49e5.tar.gz
gnu: Add r-tclust.
* gnu/packages/statistics.scm (r-tclust): New variable. Signed-off-by: Ben Woodcroft <donttrustben@gmail.com>
-rw-r--r--gnu/packages/statistics.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index be201e26e3..c48c2be6ac 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -4772,3 +4772,27 @@ ones, notably the skew-t family, and provides related statistical
methods for data fitting and diagnostics, in the univariate and the
multivariate case.")
(license license:gpl2+)))
+
+(define-public r-tclust
+ (package
+ (name "r-tclust")
+ (version "1.2-3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "tclust" version))
+ (sha256
+ (base32
+ "0a1b7yp4l9wf6ic5czizyl2cnxrc1virj0icr8i6m1vv23jd8jfp"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-mclust" ,r-mclust)
+ ("r-mvtnorm" ,r-mvtnorm)
+ ("r-sn" ,r-sn)))
+ (home-page "http://cran.r-project.org/web/packages/tclust")
+ (synopsis "Robust trimmed clustering")
+ (description
+ "This package implements different robust clustering
+algorithms (@code{tclust}) based on trimming and including some graphical
+diagnostic tools (@code{ctlcurves} and @code{DiscrFact}).")
+ (license license:gpl3)))