Renders a classical recurrence plot — a square binary image where a filled point at position (i, j) means the system revisited state j at time i. Diagonal lines indicate deterministic structure; vertical lines indicate laminar (intermittent) behaviour.
The function accepts the experdyn_rqa object produced by compute_rqa(),
which stores the sparse recurrence coordinates computed during analysis.
Usage
plot_rqa(
data,
facet_by = c("participant", "series"),
max_n = 300L,
point_colour = "black",
background_colour = "white"
)Arguments
- data
An
experdyn_rqaobject returned bycompute_rqa().- facet_by
[character(1): "participant"]
Whether to create one panel per"participant"(default) or per"series"(subseries-level, useful for exploratory inspection).- max_n
[integer(1): 300]
Maximum time index retained per panel for plotting. Points with i or j greater thanmax_nare trimmed. Set toInf(or0) to plot all points.- point_colour
[character(1): "black"]
Fill colour of recurrent points.- background_colour
[character(1): "white"]
Background (non-recurrent) colour.
Value
A ggplot2::ggplot() object.
See also
compute_rqa() for computing the RQA object passed here.
