Embeds the time series
x into a low-dimensional Euclidean space.
embed (x, dimension = 1)
- a numeric vector, matrix, or time series.
- a scalar representing the embedding dimension.
Each row of the resulting matrix consists of sequences
t is the original index of
x is a matrix, i.e.,
x contains more than one variable, then
x[t] consists of the
tth observation on each variable.
A matrix containing the embedded time series
x <- 1:10 embed (x, 3)
Documentation reproduced from R 2.15.3. License: GPL-2.