calculate_trend_line_kfas {cbsREPS}R Documentation

Calculate the trend line for a provided time series of numeric values

Description

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.

Usage

calculate_trend_line_kfas(original_series, periodicity, resting_points)

Arguments

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)

Value

Trend line

Author(s)

Pim Ouwehand, Farley Ishaak


[Package cbsREPS version 0.1.0 Index]