From 63b7039cc188dd510aee2702f26c3d1f1861b95b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C4=83d=C4=83lin=20Ionel=20Patra=C8=99cu?= Date: Tue, 17 Jan 2023 13:25:35 +0100 Subject: gnu: Add r-baseline. * gnu/packages/cran.scm (r-baseline): New variable. --- gnu/packages/cran.scm | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 5f23298e15..d94e2d4c59 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -11,7 +11,7 @@ ;;; Copyright © 2018 Sandeep Subramanian ;;; Copyright © 2018 Charlie Ritter ;;; Copyright © 2018 Konrad Hinsen -;;; Copyright © 2018, 2020, 2021, 2022 Mădălin Ionel Patrașcu +;;; Copyright © 2018, 2020-2023 Mădălin Ionel Patrașcu ;;; Copyright © 2018 Laura Lazzati ;;; Copyright © 2018 Leo Famulari ;;; Copyright © 2018 Marius Bakke @@ -9313,6 +9313,34 @@ with a simple base32 encoder/decoder suited for case insensitive file systems.") (license license:gpl3))) +(define-public r-baseline + (package + (name "r-baseline") + (version "1.3-4") + (source (origin + (method url-fetch) + (uri (cran-uri "baseline" version)) + (sha256 + (base32 + "1kl68zvyi2zd73jy3axrvrymwn4y6l4pd62nz0fciwbgkjhz3yyx")))) + (properties `((upstream-name . "baseline"))) + (build-system r-build-system) + (propagated-inputs + (list r-gwidgets2tcltk ;for GUI + r-limsolve + r-sparsem)) + (home-page "https://github.com/khliland/baseline/") + (synopsis "Baseline correction of spectra") + (description + "This package is a collection of baseline correction algorithms. Beside +those it provides a framework and a Tcl/Tk enabled GUI for optimizing baseline +algorithm parameters. Typical use is the removal of the background effects from +spectra, which are originating from various types of spectroscopy and spectrometry. +Also, there is a possibility of optimizing this with regard to regression or +classification results. Correction methods include polynomial fitting, weighted +local smoothers and many more.") + (license license:gpl2))) + (define-public r-radiant-data (package (name "r-radiant-data") -- cgit v1.2.3