From 7531ee842c19c481b3e4785b36cf6558b054e6b2 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 2 Mar 2018 23:06:50 +0100 Subject: gnu: Add r-trend. * gnu/packages/cran.scm (r-trend): New variable. --- gnu/packages/cran.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index f7b657bc3a..ce676334c6 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -2593,3 +2593,34 @@ interface.") ;; The included cubature C library is released under GPLv2+, but the ;; wrapper declares the license to be GPLv3+. (license (list license:gpl2+ license:gpl3+)))) + +(define-public r-trend + (package + (name "r-trend") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (cran-uri "trend" version)) + (sha256 + (base32 + "06yifqbsvxbmk5gld4z2nnyhf59v8ks5xjwacmb25mv9r6bn388b")))) + (build-system r-build-system) + (propagated-inputs + `(("r-extradistr" ,r-extradistr))) + (native-inputs + `(("gfortran" ,gfortran))) + (home-page "http://cran.r-project.org/web/packages/trend/") + (synopsis "Non-parametric trend tests and change-point detection") + (description + "The analysis of environmental data often requires the detection of +trends and change-points. This package includes tests for trend +detection (Cox-Stuart Trend Test, Mann-Kendall Trend Test, (correlated) +Hirsch-Slack Test, partial Mann-Kendall Trend Test, multivariate (multisite) +Mann-Kendall Trend Test, (Seasonal) Sen's slope, partial Pearson and Spearman +correlation trend test), change-point detection (Lanzante's test procedures, +Pettitt's test, Buishand Range Test, Buishand U Test, Standard Normal +Homogeinity Test), detection of non-randomness (Wallis-Moore Phase Frequency +Test, Bartels rank von Neumann's ratio test, Wald-Wolfowitz Test) and the two +sample Robust Rank-Order Distributional Test.") + (license license:gpl3))) -- cgit v1.2.3