diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2016-09-12 17:33:40 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2016-09-12 17:44:41 +0200 |
commit | 3e4c0c6662e76943017fd7370b2bcee3fa2e5044 (patch) | |
tree | 460699c75f5e86962a8cc4e848a01e833b39aae4 | |
parent | 2b1cc79d989d99f68a70eaf60ebcb0b8bd30532f (diff) | |
download | guix-3e4c0c6662e76943017fd7370b2bcee3fa2e5044.tar.gz guix-3e4c0c6662e76943017fd7370b2bcee3fa2e5044.zip |
gnu: Add r-segmented.
* gnu/packages/statistics.scm (r-segmented): New variable.
-rw-r--r-- | gnu/packages/statistics.scm | 20 |
1 files changed, 20 insertions, 0 deletions
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 @@ convenient and easy to use replacement for @code{cat} and @code{print} 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") |