R/sensors.R
transformation_window.RdGenerate a function for applying a window transformation to sensor data
transformation_window(window_length, window_overlap)
| window_length | Length of the sliding window. |
|---|---|
| window_overlap | Fraction in the interval [0, 1) specifying the amount of window overlap. |
A function that accepts as input a dataframe with columns t, axis, value and outputs a windowed transformation of that dataframe