Subject: [bug#44033] [PATCH 3/3] gnu: Add r-lpme.

From: Aniket Patil <[email-masked]>
Date: Fri, 16 Oct 2020 18:43:38 +0530

* gnu/packages/cran.scm (r-lpme): New variable.
---
 gnu/packages/cran.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 1529849211..27e5db1900 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -24638,3 +24638,30 @@ absolute GSEA.")
     (description
       "Computes local polynomial estimators for the regression and also density.  It comprises several different utilities to handle kernel estimators.")
     (license license:gpl2+)))
+
+(define-public r-lpme
+  (package
+    (name "r-lpme")
+    (version "1.1.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "lpme" version))
+        (sha256
+          (base32
+            "0si90nkgl8bqk8yvd2igdsrngiwqh8891072pfpzipifnd0f5448"))))
+    (properties `((upstream-name . "lpme")))
+    (build-system r-build-system)
+    (propagated-inputs
+      `(("r-decon" ,r-decon)
+        ("r-flexmix" ,r-flexmix)
+        ("r-locpol" ,r-locpol)
+        ("r-rcpp" ,r-rcpp)
+        ("r-rcpparmadillo" ,r-rcpparmadillo)))
+    (home-page
+      "https://cran.r-project.org/web/packages/lpme")
+    (synopsis
+      "Nonparametric Estimation of Measurement Error Models")
+    (description
+      "Provide nonparametric methods for mean regression model, modal regression and conditional density estimation in the presence/absence of measurement error.  Bandwidth selection is also provided for each method.")
+    (license license:gpl2+)))
-- 
2.28.0