window_run | R Documentation |
Creates list
of windows with given arguments settings.
Length of output list
is equal
window_run(
x,
k = integer(0),
lag = integer(1),
idx = integer(0),
at = integer(0),
na_pad = FALSE
)
x |
( |
k |
( |
lag |
( |
idx |
( |
at |
( |
na_pad |
( |
list of vectors (windows). Length of list is the same as
length(x)
or length(at)
if specified, and length of each
window is defined by k
(unless window is out of range).
window_run(1:10, k = 3, lag = -1)
window_run(letters[1:10], k = c(1, 2, 2, 4, 5, 5, 5, 5, 5, 5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.