From df6c7f04878f9881d805517f77a8dc493edd8a8f Mon Sep 17 00:00:00 2001 From: Roel Janssen Date: Mon, 27 Apr 2020 10:18:48 +0200 Subject: gnu: Add r-ecp. * gnu/packages/cran.scm (r-ecp): New variable. --- gnu/packages/cran.scm | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 94ed889609..246a76a6e2 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus ;;; Copyright © 2015 Andreas Enge ;;; Copyright © 2016, 2017 Ben Woodcroft -;;; Copyright © 2016, 2017, 2018 Roel Janssen +;;; Copyright © 2016, 2017, 2018, 2020 Roel Janssen ;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2017 Raoul Bonnal ;;; Copyright © 2018 Vijayalakshmi Vedantham @@ -177,6 +177,30 @@ legends.") control over dimensions and appearance.") (license license:gpl2+))) +(define-public r-ecp + (package + (name "r-ecp") + (version "3.1.2") + (source (origin + (method url-fetch) + (uri (cran-uri "ecp" version)) + (sha256 + (base32 + "11f9p869xr0zg779i46gmflxlq4xclk9wxbab0nj2fan26pn4sfy")))) + (build-system r-build-system) + (propagated-inputs + `(("r-rcpp" ,r-rcpp))) + (home-page "https://cran.r-project.org/web/packages/ecp/") + (synopsis "Multiple change-point analysis of multivariate data") + (description + "This package implements various procedures for finding multiple +change-points. Two methods make use of dynamic programming and pruning, with +no distributional assumptions other than the existence of certain absolute +moments in one method. Hierarchical and exact search methods are included. +All methods return the set of estimated change-points as well as other summary +information.") + (license license:gpl2+))) + (define-public r-ellipsis (package (name "r-ellipsis") -- cgit v1.2.3