Applies a symmetric moving average for quick smoothing of signal data.
Uses stats::filter() internally with equal weights.
Value
Smoothed data with the same dimensions as x. Edge values where
the full window cannot be applied are set to NA.
References
Winter DA (2009). "Biomechanics and Motor Control of Human Movement." 4th ed. John Wiley & Sons.
See also
butterworthFilter() for Butterworth low-pass filtering,
savgolFilter() for Savitzky-Golay polynomial smoothing.