R/rolling_ball.R
smooth_baseline.Rd
Auxiliary function to smooth the baseline using moving average
smooth_baseline(baseline, ws)
Vector with the baseline
Smoothing window width
Smoothed numeric vector of the same length as input