7Phase Space Reconstruction and RQA

You can use R or Matlab to run RQA analyses. These assignments assume you’ll use R. You can find a Matlab toolbox for RQA here: CRP toolbox

For R you’ll probably need:

library(rio)
library(crqa)
library(fractal)
library(devtools)
source_url("https://raw.githubusercontent.com/FredHasselman/DCS/master/functionLib/nlRtsa_SOURCE.R")

R-packages for Phase Space Reconstruction

We’ll use package fractal and rgl to reconstruct some phase spaces.

• If you have sourced the functions in nlRtsa_SOURCE.R you can install and load these packages by running: in.IT(c("fractal","rgl")). The function in.IT() will first check if the requested packages are installed on the machine and only install them if they are not present.