Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

periodogram throws error message "...need at least two non-NA values to interpolate" #16

Open
fschiefenhoevel opened this issue Dec 17, 2022 · 2 comments

Comments

@fschiefenhoevel
Copy link

Hi!

I'm very happy to have found rethomics! At the moment, I am trying to assess circadian rhythmicity in vital parameters in the MIMIC-III dataset. In small numbers, this works very well, yet when I increase the number of individuals analysed (and therefore the volume of vital parameters, e.g. heartrate), the error message:

"Fehler in approx(d[["t"]], y = d[[var_of_interest]], xout = new_x) :
need at least two non-NA values to interpolate"

pops up. I've looked at stackexchange, but can't get to the bottom of it.

EDIT: Double post because I also posted in rethomics/issues.

@qgeissmann
Copy link
Contributor

Hi @fschiefenhoevel,
Thanks for reaching out. that looks like a cool project. is there any chance you can provide a minimal/reproducible code sample? At the moment, it is hard to debug, as we do not know what function you are using...
Happy holidays,
Quentin

@fschiefenhoevel
Copy link
Author

Hi @qgeissmann,

thanks for your answer! I'll try to provide an example of data where it fails. But we need to consider the credential access "license" of the MIMIC database, i.e. it is not an open data set (but something close to it). I guess (...) the problem is with "ties", but I'll look deeper!

Merry christmas/happy holidays to you too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants