dpwindred / sleepreg

Repository for 'sleepreg' package, for calculating Sleep Regularity Index scores from accelerometer or sleep diary data
GNU Lesser General Public License v3.0
11 stars 1 forks source link

SRI from sleep diary data #3

Open hareshsuppiah opened 2 years ago

hareshsuppiah commented 2 years ago

Hi there,

Firstly, thank you for your work on this package.

I wanted to ask specifically about - Case C: Calculate SRI scores from binary sleep-wake data (see 'SRI_from_binary'). In the figure, it suggests being able to obtain SRI from sleep diaries. Does this mean using a single row of sleep and wake data per night, over multiple nights rather than epoch-by-epoch analysis? For example, if I had 5 nights of sleep diary data, I would have a dataframe of 10 rows (2 entries per night for sleep and wake).

Thank you.