morenococo / crqa

Cross-recurrence quantification analysis of two time-series, of either categorical or continuous values. It provides different methods for profiling cross-recurrence, i.e., only looking at the diagonal recurrent points, as well as more in-depth measures of the whole cross-recurrence plot, e.g., recurrence rate.
9 stars 1 forks source link

faster plotRP() function #9

Closed danm0nster closed 4 months ago

danm0nster commented 7 months ago

The current plotRP() is extremely slow.

I have a much faster version based on ggplot that I will add.

Perhaps I can keep the current base plot version, but make it faster too, and add an option, so that the user can select whether to use base plot or ggplot2?

morenococo commented 7 months ago

I would say that you can directly change plotRP and leave it only to depend on ggplot2. At the end of the day, it is a visualization function, if it is well-documented and faster, I do not think we need to double that up ...

morenococo commented 4 months ago

in the last version (crqa_2.0.6) I added the function you created @danm0nster. I tested it and it should work fine. I also removed the previous plotting function plotRP. To avoid duplicates ... I am sure, users interested in plotting the RPs can figure out the change.