moving_trend | R Documentation |
Create weight matrix for linear trend over a moving window
moving_trend(n_total = 20, n_window = 10, start = 0)
n_total |
Length of the time series.
Defaults to |
n_window |
Size of the moving window.
Defaults to |
start |
Optional offset for the time series.
Defaults to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.