Logical vector is returned. This function is useful to filter ticks. Finds consequent elements which absolute change is higher than k standard deviation of past n changes and mark them FALSE
. If sequence length greater than m
values become TRUE
.
1 | roll_sd_filter(x, n, k = 1, m = 10L)
|
x |
numeric vector |
n |
window size |
k |
number of standard deviations |
m |
number of consequent large returns to stop filtering out |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.