Learn R Programming

TSrepr (version 1.1.1)

repr_seas_profile: Mean seasonal profile of time series

Description

The repr_seas_profile computes mean seasonal profile representation from a time series.

Usage

repr_seas_profile(x, freq, func)

Value

the numeric vector

Arguments

x

the numeric vector (time series)

freq

the integer of the length of the season

func

the aggregation function. Can be meanC or medianC or similar aggregation function.

Author

Peter Laurinec, <[email protected]>

Details

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).

References

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á M (2018) Clustering-based forecasting method for individual consumers electricity load using time series representations. Open Comput Sci, 8(1):38–50, DOI: 10.1515/comp-2018-0006

See Also

repr_lm, repr_gam, repr_exp

Examples

Run this code
repr_seas_profile(rnorm(48*10), 48, meanC)

Run the code above in your browser using DataLab