Description Usage Arguments Details Value
Estimate the signal and the variation of a spectrum.
1 | lnn(x, span = 21, sm.span = 11)
|
x |
a vector of real values. |
span |
the window widith for estimation of local variation. |
sm.span |
the window width for estimation of the signal of x. |
The signal of a spectrum is estimated by moving average and its local variation is estimated by moving ‘mad’, possibly in a large window.
A list with two components:
fitted |
estimated signal, |
sigma |
estimated local variation. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.