unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#44277] [PATCH v2 1/3] gnu: Add r-decon.
@ 2020-10-28  7:51 Aniket Patil
  2020-10-28  7:51 ` [bug#44033] [PATCH v2 2/3] gnu: Add r-locpol Aniket Patil
  2020-10-28  7:51 ` [bug#44033] [PATCH v2 3/3] gnu: Add r-lpme Aniket Patil
  0 siblings, 2 replies; 4+ messages in thread
From: Aniket Patil @ 2020-10-28  7:51 UTC (permalink / raw)
  To: 44277; +Cc: 44033, aniket112.patil

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index fea560f7a1..ce2d860135 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -24628,3 +24628,39 @@ orthogonal coordinate systems: cartesian, polar, spherical, cylindrical,
 parabolic or user defined by custom scale factors.")
     (license license:gpl3)))
 
+(define-public r-decon
+  (package
+    (name "r-decon")
+    (version "1.2-4")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "decon" version))
+        (sha256
+          (base32
+            "1v4l0xq29rm8mks354g40g9jxn0didzlxg3g7z08m0gvj29zdj7s"))))
+    (properties `((upstream-name . "decon")))
+    (build-system r-build-system)
+    (native-inputs
+     `(("gfortran" ,gfortran)))
+    (home-page
+      "https://cran.r-project.org/web/packages/decon")
+    (synopsis "Deconvolution Estimation in Measurement Error Models")
+    (description
+      "This package contains a collection of functions to deal with 
+nonparametric measurement error problems using deconvolution 
+kernel methods.  We focus two measurement error models in the 
+package: (1) an additive measurement error model, where the 
+goal is to estimate the density or distribution function from 
+contaminated data; (2) nonparametric regression model with 
+errors-in-variables.  The R functions allow the measurement errors 
+to be either homoscedastic or heteroscedastic.  To make the 
+deconvolution estimators computationally more efficient in R, 
+we adapt the \"Fast Fourier Transform\" (FFT) algorithm for 
+density estimation with error-free data to the deconvolution 
+kernel estimation.  Several methods for the selection of the 
+data-driven smoothing parameter are also provided in the package.  
+See details in: Wang, X.F.  and Wang, B. (2011).  Deconvolution 
+estimation in measurement error models: The R package decon.  
+Journal of Statistical Software, 39(10), 1-24.")
+    (license license:gpl3+)))
-- 
2.28.0





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#44033] [PATCH v2 2/3] gnu: Add r-locpol.
  2020-10-28  7:51 [bug#44277] [PATCH v2 1/3] gnu: Add r-decon Aniket Patil
@ 2020-10-28  7:51 ` Aniket Patil
  2020-10-28  7:51 ` [bug#44033] [PATCH v2 3/3] gnu: Add r-lpme Aniket Patil
  1 sibling, 0 replies; 4+ messages in thread
From: Aniket Patil @ 2020-10-28  7:51 UTC (permalink / raw)
  To: 44033; +Cc: aniket112.patil

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index ce2d860135..20ebb06c67 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -24664,3 +24664,25 @@ See details in: Wang, X.F.  and Wang, B. (2011).  Deconvolution
 estimation in measurement error models: The R package decon.  
 Journal of Statistical Software, 39(10), 1-24.")
     (license license:gpl3+)))
+
+(define-public r-locpol
+  (package
+    (name "r-locpol")
+    (version "0.7-0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "locpol" version))
+        (sha256
+          (base32
+            "1p915n0l09kbwkly627074jslxl01yssp1rf0c7sygvsw6sgy5lm"))))
+    (properties `((upstream-name . "locpol")))
+    (build-system r-build-system)
+    (home-page
+      "https://cran.r-project.org/web/packages/locpol")
+    (synopsis "Kernel Local Polynomial Regression")
+    (description
+      "Computes local polynomial estimators for the regression and 
+also density.  It comprises several different utilities to handle 
+kernel estimators.")
+    (license license:gpl2+)))
-- 
2.28.0





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#44033] [PATCH v2 3/3] gnu: Add r-lpme.
  2020-10-28  7:51 [bug#44277] [PATCH v2 1/3] gnu: Add r-decon Aniket Patil
  2020-10-28  7:51 ` [bug#44033] [PATCH v2 2/3] gnu: Add r-locpol Aniket Patil
@ 2020-10-28  7:51 ` Aniket Patil
  2020-12-15  5:39   ` bug#44033: " Leo Famulari
  1 sibling, 1 reply; 4+ messages in thread
From: Aniket Patil @ 2020-10-28  7:51 UTC (permalink / raw)
  To: 44033; +Cc: aniket112.patil

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 20ebb06c67..82caaf54f6 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -24686,3 +24686,32 @@ Journal of Statistical Software, 39(10), 1-24.")
 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





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#44033: [PATCH v2 3/3] gnu: Add r-lpme.
  2020-10-28  7:51 ` [bug#44033] [PATCH v2 3/3] gnu: Add r-lpme Aniket Patil
@ 2020-12-15  5:39   ` Leo Famulari
  0 siblings, 0 replies; 4+ messages in thread
From: Leo Famulari @ 2020-12-15  5:39 UTC (permalink / raw)
  To: Aniket Patil; +Cc: 44033-done

On Wed, Oct 28, 2020 at 01:21:39PM +0530, Aniket Patil wrote:
> * gnu/packages/cran.scm (r-lpme): New variable.

Thank you for the revised patches!

I fixed another minor linter issue: the home-page URLs redirected
permamently to similar URLs, but with trailing slashes.

Anyways, I pushed the patches as commit
1c6789464a95e98a795be84cc8f1811d411712ce:

https://git.savannah.gnu.org/cgit/guix.git/log/?qt=range&q=795f654b2a0593d2a09273fc7e39d7258c87d548%5E..1c6789464a95e98a795be84cc8f1811d411712ce

Thanks again for the contribution!




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-12-15  5:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-28  7:51 [bug#44277] [PATCH v2 1/3] gnu: Add r-decon Aniket Patil
2020-10-28  7:51 ` [bug#44033] [PATCH v2 2/3] gnu: Add r-locpol Aniket Patil
2020-10-28  7:51 ` [bug#44033] [PATCH v2 3/3] gnu: Add r-lpme Aniket Patil
2020-12-15  5:39   ` bug#44033: " Leo Famulari

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).