calculate_trend_line_kfas | R Documentation |
Calculate the trend line with the state space method for a provided time series (chronological order is assumed). The series are calculated with the package KFAS.
calculate_trend_line_kfas(original_series, periodicity, resting_points)
original_series |
time series with values in chrolological order |
periodicity |
if month, then 12. If quarter, then 4, etc. (defaul = 4) |
resting_points |
should analyses values be returned? (default = FALSE) |
Trend line
Pim Ouwehand, Farley Ishaak
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.