Error in quantile.default(as.numeric(csa[j, 2:(n.s + 1)]), 0.975) :
missing values and NaN's not allowed if 'na.rm' is FALSE
I got this error when run the code from the paper with the data.
I was no able to find how it is any NaN in the data. I used the original data from the article I got it, even with a random generated similar data, and I got the same error. This seems strange because the data I randomlly created was pretty similar to the one of the article and has no NaN on it.
Beside of it, I wanna know if the phase-lock surrogates are implemented in the rEDM package. If it is there are any tutorial how to run it and used it?
The following error are systematically occuring.
Error in quantile.default(as.numeric(csa[j, 2:(n.s + 1)]), 0.975) : missing values and NaN's not allowed if 'na.rm' is FALSE
I got this error when run the code from the paper with the data. I was no able to find how it is any NaN in the data. I used the original data from the article I got it, even with a random generated similar data, and I got the same error. This seems strange because the data I randomlly created was pretty similar to the one of the article and has no NaN on it.
Beside of it, I wanna know if the phase-lock surrogates are implemented in the rEDM package. If it is there are any tutorial how to run it and used it?
Thank you