smooth_baseline: Baseline Smoothing
Description
Auxiliary function to smooth the baseline using moving average
Usage
smooth_baseline(baseline, ws)
Value
Smoothed numeric vector of the same length as input
Arguments
- baseline
Vector with the baseline
- ws
Smoothing window width