Baseline Correction of Spectra
Overview
Collection of baseline correction algorithms, along with a framework and a Tcl/Tk enabled GUI for optimising baseline algorithm parameters. Typical use of the package is for removing background effects from spectra originating from various types of spectroscopy and spectrometry, possibly optimizing this with regard to regression or classification results. Correction methods include polynomial fitting, weighted local smoothers and many more.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 42includes a package overview page
- Examples that run
- 94%29 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran) · 1 never run
- Exported functions with examples
- 68%
- Documented parameters
- 98%
- Return-value docs
- 81%
- Help pages citing references
- 33%
Downloads
Repository
- PRs merged (all time)
- 0%
- Median days to close, 50 most recently updated closed issues
- 13
- Median days to close, 50 most recently updated closed PRs
- 45
Stars over time
Forks over time
Issues over time
PRs over time
Commits over time
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/khliland/baseline on 2026-10-21.
Dependencies
Installing baseline adds 1 package (1 with compiled code, 540 KB of source tarballs). Heaviest: SparseM 540 KB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 1.3-8Latest2026-09-18 · current release · diff ↗ ·
removed 1 export
pattern:^[^\\.]added 46 exports
algorithm, baseline, baseline.TAP, baseline.als, baseline.fillPeaks, baseline.irls, baseline.lowpass, baseline.medianWindow, baseline.modpolyfit, baseline.peakDetection, baseline.rfbaseline, baseline.rollingBall, baseline.shirley, baselineAlgorithms, baselineAlgorithmsGUI, baselineEnv, baselineGUI, custom.baseline, description, doOptim, extraArgs, funcName, getBaseline, getBaselineEnv, getCall, getCorrected, getOptim, getOptimRes, getSpectra, ind.min and 16 more - RR 4.6.0 released · 2026-04-24
- 1.3-72025-06-18 · diff ↗
- unarchivedReturned to CRAN2025-06-04
- 1.3-62025-06-04 · diff ↗
- archivedRemoved from CRAN2025-06-02requires archived package 'limSolve'
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.3-52023-11-18 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.3-42022-07-06 · diff ↗
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 1.3-12020-09-12 · diff ↗
- 1.3-02020-05-11 · diff ↗
- RR 4.0.0 released · 2020-04-24
Show 22 earlier eventsHide 22 earlier events
- 1.2-32020-02-03 · diff ↗
- 1.2-22019-11-05 · diff ↗
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- 1.2-12015-07-05 · diff ↗
- RR 3.2.0 released · 2015-04-16
- 1.2-02015-03-11 · diff ↗
- 1.1-42015-01-21 · diff ↗
- RR 3.1.0 released · 2014-04-10
- 1.1-32014-02-22 · diff ↗
- 1.1-22013-05-02 · diff ↗
- RR 3.0.0 released · 2013-04-03
- 1.1-12013-03-27 · diff ↗
- 1.1-02012-06-24 · diff ↗
- RR 2.15.0 released · 2012-03-30
- RR 2.14.0 released · 2011-10-31
- 1.0-12011-08-12 · diff ↗
- RR 2.13.0 released · 2011-04-13
- 1.0-02011-01-10
- RR 2.12.0 released · 2010-10-15
Package metadata
- First published
- 2011-01-10
- Total releases
- 18 / 15 yrs
- License
- GPL-2 OSI
- Copyright
- inst/COPYRIGHTS
- Minimum R
- ≥ 3.5.0
- Bundled data
- 1.2 MB / 4 files
- Download size
- 1.3 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("baseline")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.