I have a dataframe "data" where the column V11 contains the timestamp for each row. I want to add a sliding windows to select the appropriate rows respect the timestamp. The sliding windows has a length of 200 ms and it should move each 100 ms. However, these values may be user configurable. Thus, the first selection of rows would be from time 0 to 200ms, the next 100 to 300 ms, and so on. I have seen packages that the mean is calculated but I need to do my own calculations.
Any idea?