From 3e4c0c6662e76943017fd7370b2bcee3fa2e5044 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 12 Sep 2016 17:33:40 +0200 Subject: gnu: Add r-segmented. * gnu/packages/statistics.scm (r-segmented): New variable. --- gnu/packages/statistics.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'gnu/packages/statistics.scm') diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 990f2fc132..2d2098031a 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -2136,6 +2136,26 @@ (define-public r-futile-logger statements.") (license license:lgpl3+))) +(define-public r-segmented + (package + (name "r-segmented") + (version "0.5-1.4") + (source + (origin + (method url-fetch) + (uri (cran-uri "segmented" version)) + (sha256 + (base32 + "1740cvx2q4v23g4q0zkvg50s5bv8jcrlzzhm7fac4xn0riwmzp5i")))) + (build-system r-build-system) + (home-page "http://cran.r-project.org/web/packages/segmented") + (synopsis "Regression models with breakpoints estimation") + (description + "Given a regression model, segmented updates the model by adding one or +more segmented (i.e., piecewise-linear) relationships. Several variables with +multiple breakpoints are allowed.") + (license (list license:gpl2+ license:gpl3+)))) + (define-public r-snow (package (name "r-snow") -- cgit v1.2.3