| slw | R Documentation | 
Sliding window for vector elements
slw(x, w)
| x | target vector | 
| w | integer: window size | 
list
# v1 <- 1:13 v2 <- letters[1:13] idx1 <- slw(v1, 3) idx2 <- slw(v2, 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.