bl: Baseline Correction

Description Usage Arguments Value See Also Examples

View source: R/bl.R

Description

Baseline Correction

Usage

1
bl(X, lambda = 1e+07, it_max = 30)

Arguments

X

The X matrix you wish to correct the baseline of

lambda

The smoothing parameter

it_max

The maximum iterations before bl stops

Value

A matrix containing spectra with corrected baselines

See Also

Other Data_Manipulation: binin(), flip()

Examples

1
2
path = system.file('extdata', package = 'unorm')
X_bl <- bl(X)

kylebario/unorm documentation built on Dec. 21, 2021, 8:45 a.m.