ts_to_windows: Extract time windows from a time series
Description
This function is useful when constructing a network from a single
time series. The returned list can be directly used to calculate
the distance matrix D with ts_dist().
Usage
ts_to_windows(x, width, by = 1)
Arguments
by
Window step. This is the number of values in and out during
the window rollover process.