Not intended for direct use by GGIR users. Label wake and sleepperiod window as part of g.part5.
g.part5.wakesleepwindows(ts, part4_output, desiredtz,
nightsi, sleeplog, epochSize,ID, Nepochsinhour)
Object ts
data.frame with time series
cleaned output from part 4
GGIR
vector with indices for the midnights
Data.frame with sleeplog information as loaded by g.loadlog
Short epochsize in seconds
ID of the participant
Number of epochs in an hour
Vincent T van Hees <v.vanhees@accelting.com>