Thank you for all the effort in GGIR.
We are currently using GGIR package 3.2 for PA analyses. However, when looking at the variable "dur_day_spt_min" in the output file "part5_personsummary_MM_L30M100V245_T5A5", the time spent in sleep and wake totaled exceeding 24 hr (1440 min). Since this is midnight to midnight window, I assume that every window size should be equivalent to 1440 min. Then, I checked the "part5_daysummary_full_MM_L30M100V245_T5A5" from the QC file and found that every ID had their "dur_day_spt_min" around 2880 min in their last window. I was quite confused by the results and I hope you can help me figure out what went wrong in my analyses.
GGIR(mode=c(1,2,3,4,5),
datadir = "F:/!! File Transfer/Full Raw Data",
outputdir = "F:/!! File Transfer",
do.parallel = TRUE,
chunksize = 0.2,
do.report=c(2,4,5),
idloc = 5,
dynrange = 8,
printsummary = TRUE,
#=====================
# Part 2
#=====================
data_masking_strategy = 1,
hrs.del.start = 0, hrs.del.end = 0,
maxdur = 7, includedaycrit = 16,
Sadeh_axis = "Y",
qlevels = c(c(840/1440), c(1140/1440), c(1320/1440), c(1380/1440),
c(1410/1440), c(1415/1440), c(1420/1440), c(1425/1440),
c(1430/1440), c(1435/1440), c(1439/1440)),
qwindow=c(0,24),
mvpathreshold =c(100),
mvpadur = c(1, 5, 10),
boutcriter = 0.8,
includenightcrit = 16,
iglevels = TRUE,
#=====================
# Part 3 + 4
#=====================
excludefirstlast = TRUE,
def.noc.sleep = 1,
criterror = 2,
do.visual = TRUE,
#=====================
# Part 5
#=====================
threshold.lig = c(30), threshold.mod = c(100), threshold.vig = c(245),
boutcriter.in = 0.9, boutcriter.lig = 0.8,
boutcriter.mvpa = 0.8,
boutdur.in = c(10, 30), boutdur.lig = c(1, 5, 10),
boutdur.mvpa = c(1, 5, 10),
includedaycrit.part5 = 2/3,
winhr = c (0.017, 0.083, 0.167, 0.25, 0.333, 0.417, 0.5, 1, 2, 5, 10),
qM5L5 = 0.25,
require_complete_lastnight_part5 = TRUE,
#=====================
# Visual report
#=====================
timewindow = c("MM","WW"),
visualreport=TRUE)