I am running a 24-hr accelerometer data and encountered this error when generating visual report:
library(GGIR)
g.shell.GGIR(
mode=c(1,2,3,4,5),
datadir="C:/Users/jp30/Desktop/Data",
outputdir="C:/Users/jp30/Desktop/output",
do.report=c(2,4,5),
do.imp=TRUE,
windowsizes = c(5,900,3600),
do.enmo = TRUE,
do.anglez = TRUE,
#=====================
# Part 2
#=====================
strategy = 1,
hrs.del.start = 0, hrs.del.end = 0,
maxdur = 1, includedaycrit = 16,
qwindow=c(0,24),
mvpathreshold =c(100),
bout.metric = 4,
excludefirstlast = FALSE,
includenightcrit = 16,
#=====================
# Part 3 + 4
#=====================
anglethreshold = 5,
timethreshold = 5,
ignorenowear = TRUE,
def.noc.sleep = 1,
outliers.only = TRUE,
criterror = 4,
do.visual = TRUE,
#=====================
# Part 5
#=====================
threshold.lig = c(30), threshold.mod = c(100), threshold.vig = c(400),
boutcriter.mvpa = 0.8,
boutdur.in = c(1,10,30), boutdur.lig = c(1,10),
boutdur.mvpa = c(1),
includedaycrit.part5 = 2/3,
#=====================
# Visual report
#=====================
timewindow = c("WW"),
visualreport=TRUE)
Thanks for your help in advance.