Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

BuildTakens

Build the Takens' vectors


Description

This function builds the Takens' vectors of the Non Interpolated RR intervals. The set of Takens' vectors is the result of embedding the time series in a m-dimensional space. That is, the n^{th} Takens' vector is defined as

T[n]=\{niRR[n], niRR[n+ timeLag],..., niRR[n+m*timeLag]\}.

Taken's theorem states that we can then reconstruct an equivalent dynamical system to the original one (the dynamical system that generated the observed time series) by using the Takens' vectors.

Usage

BuildTakens(HRVData, embeddingDim, timeLag)

Arguments

HRVData

Data structure that stores the beats register and information related to it

embeddingDim

Integer denoting the dimension in which we shall embed the RR series.

timeLag

Integer denoting the number of time steps that will be use to construct the Takens' vectors.

Value

A matrix containing the Takens' vectors (one per row).

Note

This function is based on the buildTakens function from the nonlinearTseries package.

References

H. Kantz and T. Schreiber: Nonlinear Time series Analysis (Cambridge university press)


RHRV

Heart Rate Variability Analysis of ECG Data

v4.2.6
GPL-2
Authors
Leandro Rodriguez-Linares [aut, cre], Xose Vila [aut], Maria Jose Lado [aut], Arturo Mendez [aut], Abraham Otero [aut], Constantino Antonio Garcia [aut], Matti Lassila [ctb]
Initial release
2020-12-14

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.