despike | R Documentation |
Remove spikes from time series data using running median and a threshold.
despike(x, k = 7, thresh = 6)
x |
A numeric vector containing the time series data. |
k |
The window size for the running median (default: 7). |
thresh |
The threshold for identifying spikes (default: 6). |
A numeric vector with the spikes removed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.