Description Usage Arguments Value
Create a window of certain size at each index of the data.
1 2 | partition_window(idx, w_size, keys, data = NULL, partial = T,
align = "center")
|
idx |
The index of the window key. |
w_size |
Size of window in points. |
keys |
The values used to create and identify the windows. |
data |
The data that will be filtered and divided into windows. |
partial |
Whether a partial window is allowed. At the begin and end of a dataset, some windows will be smaller than w_size. These windows will be removed is partial is FALSE. |
align |
Alignment of the window, relative to idx. "center" means: idx is in the middle between lower and upper bound. "left" means: idx is on the left, so idx == lower bound. "right" means: idx is on the right, so idx == upper bound. |
The subset of keys (or data) that are in the window
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.