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

Error in plotRP #2

Closed istallworthy closed 4 months ago

istallworthy commented 1 year ago

Hello,

I am consistently encountering the following error when i try to run plotRP()with the RP output from either crqa() or mdcrqa(), and i'm wondering if you are aware of why this might be happening?

Screen Shot 2023-10-16 at 4 11 05 PM

Thanks in advance, Isa

morenococo commented 1 year ago

Hi @istallworthy , thanks for flagging this up! I had to perform some maintenance to crqa() to comply with updates on CRAN and maybe something went wrong with this function. I am assuming that you have installed the latest version crqa.2.0.4

@a-paxton, if you have time, do you mind having a look at the function? I had to rewrite parts of it because the version you proposed did not pass the CRAN check, especially the initialization of parameters, and consequently reshuffled part of it. I am sure the issue is there ... Otherwise, let me know, and I will have a look at it. Many thanks!

istallworthy commented 1 year ago

Thank you, @morenococo and @a-paxton. I do have the latest crqa installed.

a-paxton commented 1 year ago

Thanks for flagging this! I'll take a look as soon as I can, at least in the next few days.

a-paxton commented 1 year ago

Hi, @istallworthy! Apologies for my very late reply on this. (Conference season is approaching!) I'm not sure exactly why it threw that specific error, but I'm hoping my edited code will help with it.

morenococo commented 4 months ago

This issue was already fixed in a previous version. We have now changed the function entirely and replaced it with plot_rp, which is faster and relies on ggplot2, making it more customizable