Description Usage Arguments Value Examples
This function tries to use convolution to find steps in data. It returns candidates to remove in a vector.
1 | find_step(x, tolerance, kernel_size = 3)
|
x |
target numeric vector |
tolerance |
integer, threshold distance for step detection after convolution |
kernel_size |
integer, kernel size of the convolution window (by default 3). |
vector of positions of 'x' where the step is predicted.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.