Skip to contents

Auxiliary function to smooth the baseline using moving average

Usage

smooth_baseline(baseline, ws)

Arguments

baseline

Vector with the baseline

ws

Smoothing window width

Value

Smoothed numeric vector of the same length as input