Description Usage Arguments Value Examples
Applies a twosided moving median window on a vector, where the window paramter is the total size of the window. The value in the window middle is the index where the median of the window is written. Therefore the window size has to be an uneven number. The border region of the vetor is filled with a one-sided median. There might be border effects.
1 |
data |
numeric vector |
window |
uneven number for the size of the moving window |
A numeric vector.
1 | movingMedian(sequence(1:10), window = 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.