From 5da4f84f1faa1caf9b1dbe599f53016acfcb4ff9 Mon Sep 17 00:00:00 2001 From: Raoul Jean Pierre Bonnal Date: Sat, 11 Mar 2017 10:04:33 +1000 Subject: gnu: Add r-trimcluster. * gnu/packages/statistics.scm (r-trimcluster): New variable. Signed-off-by: Ben Woodcroft --- gnu/packages/statistics.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index c9eddff259..16f647f852 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -4325,3 +4325,23 @@ can be efficiently implemented directly in the R language.") "This packages allows to analyze data with robust methods such as regression methodology including model selections and multivariate statistics.") (license license:gpl2+))) + +(define-public r-trimcluster + (package + (name "r-trimcluster") + (version "0.1-2") + (source + (origin + (method url-fetch) + (uri (cran-uri "trimcluster" version)) + (sha256 + (base32 + "0lsgbg93hm0w1rdb813ry0ks2l0jfpyqzqkf3h3bj6fch0avcbv2")))) + (build-system r-build-system) + (home-page "http://cran.r-project.org/web/packages/trimcluster") + (synopsis "Cluster analysis with trimming") + (description + "The trimmed k-means clustering method by Cuesta-Albertos, Gordaliza and +Matran (1997). This optimizes the k-means criterion under trimming a portion +of the points.") + (license license:gpl2+))) -- cgit 1.4.1