ong8181 / dynamic-stability

Analysis codes for Ushio et al. "Fluctuating interaction network and time-varying stability of a natural fish community"
MIT License
8 stars 4 forks source link

Error in quantile.default #2

Open rafalopespx opened 5 years ago

rafalopespx commented 5 years ago

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

rafalopespx commented 5 years ago

Hello??