wadpac / GGIR

Code corresponding to R package GGIR
https://wadpac.github.io/GGIR/
Apache License 2.0
99 stars 62 forks source link

Add option to impute missing sleeplog entries #1088

Closed vincentvanhees closed 6 months ago

vincentvanhees commented 8 months ago

For some studies it is preferable to rely on sleep log as much as possible. This new option will impute missing sleep onset and wakeup times by the median of the valid values for the same individuals. So, that would come with the assumption that it is better to trust typical sleep times as reported by the participant than to trust the accelerometer data.

vincentvanhees commented 6 months ago

Closes because https://github.com/wadpac/GGIR/pull/1100#issuecomment-2106991325