## set.seed(34)
## Simulates time-series data from the Logistic map with chaos
## ts <- DChaos::logistic.sim(n=1000, a=4)
## show(head(ts, 5))
## Provides the uniform delayed-coordinate embedding vectors (Backward)
## data <- DChaos::embedding(ts, m=5, lag=2, timelapse="FIXED")
## show(head(data, 5))
## Simulates tick-by-tick data (bid price) for Starbucks company
## ts <- highfrequency::sbux
## show(head(ts, 5))
## Provides the non-uniform delayed-coordinate embedding vectors (Backward)
## data <- DChaos::embedding(ts, m=3, lag=4, timelapse="VARIABLE")
## show(head(data, 5))
Run the code above in your browser using DataLab