smooth_baseline {tidyspec}R Documentation

Baseline Smoothing

Description

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


[Package tidyspec version 0.1.0 Index]