ts_embed: Delay embedding of a time series

ts_embedR Documentation

Delay embedding of a time series

Description

Create a state vector based on an embedding lag and a number of embedding dimanesions.

Usage

ts_embed(
  y,
  emDim,
  emLag,
  returnOnlyIndices = FALSE,
  doEmbed = TRUE,
  silent = TRUE
)

Arguments

y

Time series

emDim

Embedding dimension

emLag

Embedding lag

returnOnlyIndices

Return only the index of y for each surrogate dimension, not the values (default = FALSE)

doEmbed

Should the series be embedded? If FALSE adds attributes.

silent

Silent-ish mode

Value

The lag embedded time series

Note

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.

Author(s)

Fred Hasselman

See Also

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


FredHasselman/casnet documentation built on April 20, 2024, 3:05 p.m.