powered by
Loads sleeplog from a csv input file and applies sanity checks before storing the output in a dataframe
g.loadlog(loglocation=c(),coln1=c(),colid=c(), sleeplogsep=",", meta.sleep.folder = c(), desiredtz="")
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.
Location of the spreadsheet (csv) with sleep log information. See package vignette for explanation on expected format
Column number in the sleep log spreadsheet where the onset of the first night starts
Column number in the sleep log spreadsheet in which the participant ID code is stored (default = 1)
Value used as sep argument for reading sleeplog csv file, usually "," or ";". This argument has been deprecated.
Path to part3 milestone data, only specify if sleeplog is in advanced format.
See g.part4
Vincent T van Hees <v.vanhees@accelting.com>
if (FALSE) { sleeplog = g.loadlog(loglocation="C:/mysleeplog.csv",coln1=2, colid=1) }
Run the code above in your browser using DataLab