Extracts ID from filename and finds matching rows in sleeplog. Function not designed for direct use by GGIR users.
g.part4_extractid(idloc, fname, dolog, sleeplog, accid = c())
List with accid the ID and matching_indices_sleeplog a vector with matching row indices in the sleeplog
See g.part4
Full patth to filename
Boolean to indicate whether to rely on a sleeplog
Sleeplog data.frame passed on from g.part4
ID extracted from the acceleration file in GGIR part3. If not available leave blank.
Vincent T van Hees <v.vanhees@accelting.com>