Hi guys, first I'd like to thank you for the amazing work on this implementation of pattern causality. I've been researching this topic at my university and am currently experimenting with this approach.
I would like to report an error I am encountering when executing a function from the package when the variable is set to E >= 3.


When the comparison is X (Matrix or data frame of time series for the cause) and Y (Matrix or data frame of time series for the effect), the error does not occur.

I ran a test where I imported the entire package to my machine and executed the functions directly, and the error did not occur.

Here are some examples of the data. It is important to highlight that the data was processed using dataset$ultimo <- c(NA, diff(log(dataset$ultimo))), possibly because there are negative values in the predictionY function.

I am available for any questions.
Regards,
Cristiano C. da Silva
Researcher at FGV University.