summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-10-28 19:23:04 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-10-30 21:35:03 +0100
commit2ea75a83690da0963cb72ab859f768c880cc707f (patch)
treeea5396396db6fc9bc750a031d19da7a95d3e116b
parent7c7ee6cf4c1066ac97386269065d53782b04f7e9 (diff)
downloadguix-2ea75a83690da0963cb72ab859f768c880cc707f.tar.gz
gnu: Add r-npsurv.
* gnu/packages/cran.scm (r-npsurv): New variable.
-rw-r--r--gnu/packages/cran.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index ba55e72638..e321993c12 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -7013,3 +7013,24 @@ problems under linear equality/inequality constraints.  Functions for solving
 quadratic programming problems are also available, which transform such
 problems into least squares ones first.")
     (license license:gpl2+)))
+
+(define-public r-npsurv
+  (package
+    (name "r-npsurv")
+    (version "0.4-0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "npsurv" version))
+       (sha256
+        (base32
+         "1wq4c9yfha5azjhrn40iiqkshmvh611sa90jp3lh82n4bl9zfk20"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-lsei" ,r-lsei)))
+    (home-page "https://www.stat.auckland.ac.nz/~yongwang")
+    (synopsis "Nonparametric survival analysis")
+    (description
+     "This package contains functions for non-parametric survival analysis of
+exact and interval-censored observations.")
+    (license license:gpl2+)))