Tools and tutorials to help with recurrence quantification analysis (RQA), cross-recurrence quantification analysis (CRQA), and detrended fluctuation analysis (DFA).
Here are the tutorials that are currently available:
./tutorials/tutorial-categorical_recurrence.R
: Tutorial for categorical recurrence quantification analysis and cross-recurrence quantification analysis in R../tutorials/tutorial-continous_recurrence.R
: Tutorial for continuous recurrence quantification analysis and cross-recurrence quantification analysis in R, including conducting manual parameter search../tutorials/tutorial-dfa.R
: Tutorial for detrended fluctuation analysis.
Data for the tutorials are included in the ./tutorials/data/
directory.
The informative text on chickens comes from the "Chicken" entry from Wikipedia (https://en.wikipedia.org/wiki/Chicken). The poetic text on chickens comes from "Last Night I Dreamed of Chickens" by Jack Prelutsky (https://poets.org/poem/last-night-i-dreamed-chickens).
The converted versions of the text files come thanks to Rick Dale's free "Text Converter" tool.
The data for the fractal analysis are courtesy of the U.S. National Oceanic and Atmospheric Association's Climate Data Online API from the National Centers for Environmental Information.
Here are the tools that are currently available:
- Visualizations
./tools/create-recurrence-plots-ggplot.r
: Create recurrence plot withqplot
function fromggplot2
package./tools/create-recurrence-plots-standard.R
: Create recurrence plot with standardplot
function
To run these, you will need the following R packages:
crqa
(Coco & Dale, 2014, Frontiers in Psychology)tidyr
nonlinearTseries
tseriesChaos
ggplot2
Contributions are always welcome! Just submit a pull request to get started.