daysleeper

44 views
Skip to first unread message

guowe...@gmail.com

unread,
Sep 17, 2020, 3:06:15 PM9/17/20
to R package GGIR
Hi Vincent,
May I consult you how GGIR define daysleepers?
According to the manual

5.6.2 Daysleepers (nights workers)

If the guider indicates that the person woke up after noon, the sleep analysis in part 4 is performed again on a window from 6pm-6pm. In this way our method is sensitive to people who have their main sleep period starting before noon and ending after noon, referred as daysleeper=1 in daysummary.csv file, which you can interpret as night workers. Note that the L5+/-12 algorithm is not configured to identify daysleepers, it will only consider the noon-noon time window.  

However, I found this example in my data (GGIR2.0),

ID  night  daysleeper  sleeponset  wakeup  SptDuration  
1002-73-4  1  1  32.36111  35.27639  2.915278  
762-71-6  10   0   33.96528  34.49861  0.5333333 

Is this definition of daysleeper related to sleepduration?
Thanks.
Best,
Dora   
 

Vincent van Hees

unread,
Sep 30, 2020, 11:07:03 AM9/30/20
to guowe...@gmail.com, R package GGIR
Yes, there was an bug with daysleeper detection for the first night in the recording.
This is fixed now in the GitHub-only release 2.1-2 and will be part of the next CRAN release.

Best, Vincent

Dr. Vincent van Hees
Independent consultant

ACCELTING.png



‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
--
You received this message because you are subscribed to the Google Groups "R package GGIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to RpackageGGIR...@googlegroups.com.

Wei Guo

unread,
Sep 30, 2020, 1:15:52 PM9/30/20
to Vincent van Hees, R package GGIR
Awesome, thanks!  The definition of daysleepers is  
  sleeponset <36 (noon)
 wake up >36  (noon)

Is this still correct?
Thanks.
Best,
Dora

Vincent van Hees

unread,
Oct 8, 2020, 1:35:25 PM10/8/20
to Wei Guo, R package GGIR
yes, this is still correct.



‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
Reply all
Reply to author
Forward
0 new messages