diff options
author | Marius Bakke <[email protected]> | 2020-12-21 23:44:54 +0100 |
---|---|---|
committer | Marius Bakke <[email protected]> | 2020-12-21 23:44:54 +0100 |
commit | 119fd58922b00d43d4f8b055f3f622478a13f46d (patch) | |
tree | 4869f9f09079d5a33f7dfd51ca8e52200fbeb09f /gnu/packages/cran.scm | |
parent | 85ba5e9335207beef9a650e96d5d64787beb9256 (diff) | |
parent | bbe4ed65ed5fe7dc8ed9d226042852387cee3b1e (diff) |
Merge branch 'ungrafting' into staging
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r-- | gnu/packages/cran.scm | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 45703792ed..9c6ee08f58 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -32,6 +32,7 @@ ;;; Copyright © 2020 Arun Isaac <[email protected]> ;;; Copyright © 2020 Magali Lemes <[email protected]> ;;; Copyright © 2020 Simon Tournier <[email protected]> +;;; Copyright © 2020 Aniket Patil <[email protected]> ;;; ;;; This file is part of GNU Guix. ;;; @@ -25174,6 +25175,94 @@ 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+))) + +(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+))) + +(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+))) + (define-public r-aws-signature (package (name "r-aws-signature") |