Not intended for direct use by GGIR users. If a night is missing in the part4 output then this function tries to fix as part of g.part5.
g.part5.fixmissingnight(summarysleep, sleeplog = c(), ID)
Corrected summarysleep_tmp2 object.
Object produced by g.part4
Sleeplog object as passed on from g.part5
ID of participant
Vincent T van Hees <v.vanhees@accelting.com>