makeWindows {locStra} | R Documentation |
Auxiliary function to generate a two-column matrix of windows to be used in the function 'fullscan'.
makeWindows(len, size, offset)
len |
The overall length of the data which is to be scanned in windows. |
size |
The window size. |
offset |
The offset of the generated windows (e.g., if |
A two-column matrix of sliding windows, with one window per row defined through start and end value.
require(locStra)
print(makeWindows(100,10,5))