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, sleeplogidnum, sleeplog)
See g.part4
Full patth to filename
Boolean to indicate whether to rely on a sleeplog
Should the participant identifier as stored in the sleeplog be interpretted as a number (TRUE=default) or a character (FALSE)?
Sleeplog data.frame passed on from g.part4
List with accid the ID and matching_indices_sleeplog a vector with matching row indices in the sleeplog