Create a state vector based on an embedding lag and a number of embedding dimanesions.
ts_embed(
y,
emDim,
emLag,
returnOnlyIndices = FALSE,
doEmbed = TRUE,
silent = TRUE
)
The lag embedded time series
If emLag = 0
, the assumption is the columns in y
represent the dimensions and y
will be returned with attributes emLag = 0
and emDim = NCOL(y)
. If emLag > 0
and NCOL(y)>1
the first column of y
will used for embedding and a warning will be triggered.
Other Time series operations:
ts_center()
,
ts_changeindex()
,
ts_checkfix()
,
ts_detrend()
,
ts_diff()
,
ts_discrete()
,
ts_duration()
,
ts_integrate()
,
ts_levels()
,
ts_peaks()
,
ts_permtest_block()
,
ts_permtest_transmat()
,
ts_rasterize()
,
ts_sd()
,
ts_slice()
,
ts_slopes()
,
ts_standardise()
,
ts_sumorder()
,
ts_symbolic()
,
ts_trimfill()
,
ts_windower()
Other Time series operations:
ts_center()
,
ts_changeindex()
,
ts_checkfix()
,
ts_detrend()
,
ts_diff()
,
ts_discrete()
,
ts_duration()
,
ts_integrate()
,
ts_levels()
,
ts_peaks()
,
ts_permtest_block()
,
ts_permtest_transmat()
,
ts_rasterize()
,
ts_sd()
,
ts_slice()
,
ts_slopes()
,
ts_standardise()
,
ts_sumorder()
,
ts_symbolic()
,
ts_trimfill()
,
ts_windower()