filter_via_savitzky_golay {saccadr}R Documentation

Smooths signal using Savitzky-Golay and then shifts the filtered signal back

Description

Smooths signal using Savitzky-Golay and then shifts the filtered signal back

Usage

filter_via_savitzky_golay(x, sg_order)

Arguments

x

vector of float

sg_order

integer, order of the filter

Value

vector of float

Examples

filter_via_savitzky_golay(rnorm(1000), 2)

[Package saccadr version 0.1.3 Index]