makeWindows {locStra} | R Documentation |
Auxiliary function to generate a two-column matrix of windows to be used in the function 'fullscan'.
Description
Auxiliary function to generate a two-column matrix of windows to be used in the function 'fullscan'.
Usage
makeWindows(len, size, offset)
Arguments
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 |
Value
A two-column matrix of sliding windows, with one window per row defined through start and end value.
Examples
require(locStra)
print(makeWindows(100,10,5))
[Package locStra version 1.9 Index]