The repr_seas_profile
computes mean seasonal profile representation from a time series.
repr_seas_profile(x, freq, func)
the numeric vector (time series)
the integer of the length of the season
the aggregation function. Can be meanC or medianC or similar aggregation function.
the numeric vector
This function computes mean seasonal profile representation for a seasonal time series. The length of representation is length of set seasonality (frequency) of a time series. Aggregation function is arbitrary (best choice is for you maybe mean or median).
Laurinec P, Lucka M (2016) Comparison of representations of time series for clustering smart meter data. In: Lecture Notes in Engineering and Computer Science: Proceedings of The World Congress on Engineering and Computer Science 2016, pp 458-463
Laurinec P, Loderer M, Vrablecova P, Lucka M, Rozinajova V, Ezzeddine AB (2016) Adaptive time series forecasting of energy consumption using optimized cluster analysis. In: Data Mining Workshops (ICDMW), 2016 IEEE 16th International Conference on, IEEE, pp 398-405
Laurinec P, Luck<U+00E1> M (2018) Clustering-based forecasting method for individual consumers electricity load using time series representations. Open Comput Sci, 8(1):38<U+2013>50, DOI: 10.1515/comp-2018-0006
# NOT RUN {
repr_seas_profile(rnorm(48*10), 48, meanC)
# }
Run the code above in your browser using DataCamp Workspace