Data frame with sleeplog, which can be either in basic format or in advanced
format. See GGIR package vignette for discussion of these two formats.
Arguments
loglocation
Location of the spreadsheet (csv) with sleep log information.
See package vignette for explanation on expected format
coln1
Column number in the sleep log spreadsheet where the onset of the first
night starts
colid
Column number in the sleep log spreadsheet in which the participant
ID code is stored (default = 1)
nnights
Number of nights for which sleep log information should be available.
It assumes that this is constant within a study. If sleep log information
is missing for certain nights then leave these blank
sleeplogidnum
Should the participant identifier as stored in the sleeplog be
interpretted as a number (TRUE=default) or a character (FALSE)?
sleeplogsep
Value used as sep argument for reading sleeplog csv file, usually "," or ";".
meta.sleep.folder
Path to part3 milestone data, only specify if sleeplog is in advanced format.