Description Usage Arguments Details Value Author(s) References See Also Examples
The repr_windowing
computes representations from windows of a vector.
1 | repr_windowing(x, win_size, func = NULL, args = NULL)
|
x |
the numeric vector (time series) |
win_size |
the length of the window |
func |
the function for representation computation. For example |
args |
the list of additional arguments to the func (representation computation function). The args list must be named. |
This function applies specified representation method (function) to every non-overlapping window (subsequence, piece) of a time series.
the numeric vector
Peter Laurinec, <tsreprpackage@gmail.com>
Laurinec P, and Lucka M (2018) Interpretable multiple data streams clustering with clipped streams representation for the improvement of electricity consumption forecasting. Data Mining and Knowledge Discovery. Springer. DOI: 10.1007/s10618-018-0598-2
1 2 3 4 5 6 | # func without arguments
repr_windowing(rnorm(48), win_size = 24, func = repr_feaclip)
# func with arguments
repr_windowing(rnorm(48), win_size = 24, func = repr_featrend,
args = list(func = maxC, order = 2, pieces = 2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.