[bug#42119,2/5] gnu: Add r-mlecens.
diff mbox series

Message ID 20200629080340.13200-2-peterloleungyau@gmail.com
State New
Headers show
Series
  • [bug#42119,1/5] gnu: Add r-icens.
Related show

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch fail View Laminar job

Commit Message

Peter Lo June 29, 2020, 8:03 a.m. UTC
* gnu/packages/cran.scm (r-mlecens): New variable.
---
 gnu/packages/cran.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Patch
diff mbox series

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index ab5e57c0e2..8be110a9bd 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -22325,3 +22325,32 @@  across a wide array of bioinformatic R packages.")
 and clustering large sequence datasets using fast alignment-free k-mer
 counting and recursive k-means partitioning.")
     (license license:gpl3)))
+
+(define-public r-mlecens
+  (package
+    (name "r-mlecens")
+    (version "0.1-4")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "MLEcens" version))
+        (sha256
+          (base32
+            "0zlmrcjraypscgs2v0w4s4hm7qccsmaz4hjsgqpn0058vx622945"))))
+    (properties `((upstream-name . "MLEcens")))
+    (build-system r-build-system)
+    (home-page "http://stat.ethz.ch/~maathuis/")
+    (synopsis
+      "Computation of the MLE for bivariate (interval) censored data")
+    (description
+      "This package contains functions to compute the nonparametric
+maximum likelihood estimator (MLE) for the bivariate distribution
+of (X,Y), when realizations of (X,Y) cannot be observed directly.  To
+be more precise, we consider the situation where we observe a set of
+rectangles that are known to contain the unobservable realizations
+of (X,Y).  We compute the MLE based on such a set of rectangles.  The
+methods can also be used for univariate censored data (see data set
+@code{cosmesis}), and for censored data with competing risks (see data
+set @code{menopause}).  We also provide functions to visualize the
+observed data and the MLE.")
+    (license license:gpl2+)))