smoothts | R Documentation |
Smooth a time series by averaging window.
smoothts(ts, windowsize)
ts |
Time series. |
windowsize |
Length of smoothing window. |
Smoothed time series (1D array).
See discussions in the text of “Time-Frequency Analysis”.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.