Not intended for direct use by GGIR users, part of g.part5.
g.part5_analyseSegment(indexlog, timeList, levelList,
segments,
segments_names,
dsummary, ds_names,
params_general, params_output,
params_sleep, params_247,
params_phyact,
sumSleep, sibDef,
fullFilename,
add_one_day_to_next_date,
lightpeak_available,
tail_expansion_log,
foldernamei, sibreport = NULL)
List with objects: indexlog, timeList, and the matrix with the prelimenary results and column names (dsummary and ds_names, see input arguments above)
List of objects related to indices of window, file, and segment that are passed on from g.part5 to aid selecting time segments or keeping track of where in file the code is.
List of objects related to time series passed on from g.part5.
List of objects related to intensity levels passed on from g.part5.
List produced by g.part5
Vector produced by g.part5
Matrix to hold all daysummary (and segment summary)
Character vector with column names of the dsummary matrix. The code collects these separately in this vector and assigns them at the end.
See GGIR
See GGIR
See GGIR
See GGIR
See GGIR
Section of data.frame produced by g.part4 passed on from g.part5.
Character to identify sib definition.
Character with full filename being processed
Boolean to indicate whether one day should be added to next date
Boolean to indicate whether light peak is available
Object generated in g.part1 and passed on to g.part5 when
argument recordingEndSleepHour
is used.
Character with folder name in which the data file is stored.
Sibreport object as passed on from g.part5