g.part4_extradctid: Extracts ID from filename and finds matching rows in sleeplog

g.part4_extractidR Documentation

Extracts ID from filename and finds matching rows in sleeplog

Description

Extracts ID from filename and finds matching rows in sleeplog. Function not designed for direct use by GGIR users.

Usage

  g.part4_extractid(idloc, fname, dolog, sleeplog, accid = c())

Arguments

idloc

See g.part4

fname

Full patth to filename

dolog

Boolean to indicate whether to rely on a sleeplog

sleeplog

Sleeplog data.frame passed on from g.part4

accid

ID extracted from the acceleration file in GGIR part3. If not available leave blank.

Value

List with accid the ID and matching_indices_sleeplog a vector with matching row indices in the sleeplog

Author(s)

Vincent T van Hees <v.vanhees@accelting.com>


GGIR documentation built on Oct. 17, 2023, 1:12 a.m.