Generate resample objects of rolling windows over elements of a data frame.
1 2 |
n |
A positive, scalar integer representing the number of observations (items to choose from). |
width |
The window width. |
align |
Is the window left-aligned, right-aligned, or centered relative to the reference index of the window. |
partial |
A logical flag or numeric vector. If |
indices, from, to, by |
The indices at which to generate windows. If
|
offsets |
An integer vector or |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.