Description Usage Arguments Value
View source: R/online_minmax.R
Online moving min/max
1 2 3 4 5 6 7 | make_moving_min(window, ...)
make_moving_max(window, ...)
make_moving_argmin(window, arg = c("index", "distance"), ...)
make_moving_argmax(window, arg = c("index", "distance"), ...)
|
window |
moving window size |
... |
not used |
arg |
index: return min/max index within moving window, distance: return the reverse of index |
a stateful online function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.