Description Usage Arguments Value See Also Examples
View source: R/ts-preprocess.R
This function embeds a time series into an Euclidean space.
This implementation is based on the function embed
of
stats package and has theoretical backgroung on
reconstruction of attractors (see Takens, 1981).
This shape transformation of the series allows for
the use of any regression tool available to learn
the time series. The assumption is that there are no long-term
dependencies in the data.
1 | embed_timeseries(timeseries, embedding.dimension)
|
timeseries |
a time series of class \"xts\". |
embedding.dimension |
an integer specifying the embedding dimension. |
An embedded time series
embed
for the details of the embedding procedure.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.