It seems that for some reason no output is generated for part4 and part5.
Find below the errors that appear in the console, the script I am using, and the sessioninfo() information. If you need something else let me know. Many thanks
------Console---------------------------------------------------------------------
Report part 4
loading all the milestone data from part 4 this can take a few minutes
[1] "report not stored, because no results available"
Report part 5
loading all the milestone data from part 5 this can take a few minutes
generating output for every parameter configurations...
NA-NA-NA-NA-NAreport not stored, because no results available NA-NA-NA-NA-report not stored, because no results available NA-NA-NA--NAreport not stored, because no results available NA-NA-NA--report not stored, because no results available NA-NA--NA-NAreport not stored, because no results available NA-NA--NA-report not stored, because no results available NA-NA---NAreport not stored, because no results available NA-NA---report not stored, because no results available NA--NA-NA-NAreport not stored, because no results available NA--NA-NA-report not stored, because no results available NA--NA--NAreport not stored, because no results available NA--NA--report not stored, because no results available NA---NA-NAreport not stored, because no results available NA---NA-report not stored, because no results available NA----NAreport not stored, because no results available NA----report not stored, because no results available -NA-NA-NA-NAreport not stored, because no results available -NA-NA-NA-r...
Generate visual reports
[1] "File Sab14.bin.bin"
Error in xy.coords(x, y, xlabel, ylabel, log) :
'x' and 'y' lengths differ
In addition: Warning message:
In rm(outputfinal, outputfinal2) : object 'outputfinal2' not found
-----------Script----------------------------------
`mode= c(1,2,3,4,5)
datadir= c("C:/Alba/03_Data/GeneActiv_Sab11y")
outputdir= c("C:/Alba/03_Data/GeneActiv_Sab11y_results_sleeplog")
f0 = 1
f1 = 3
g.shell.GGIR(#-------------------------------
# General parameters
#-------------------------------
mode=mode,
datadir=datadir,
outputdir=outputdir,
studyname=studyname,
f0=f0,
f1=f1,
overwrite = F,
do.imp=TRUE,
idloc=1,
print.filename=FALSE,
storefolderstructure = FALSE,
#-------------------------------
# Part 1 parameters:
#-------------------------------
windowsizes = c(5,900,3600),
do.cal=TRUE,
do.enmo = TRUE,
do.anglez=TRUE,
chunksize=1,
printsummary=TRUE,
#-------------------------------
# Part 2 parameters:
#-------------------------------
strategy = 1,
ndayswindow=c(7,9),
hrs.del.start = 1,
hrs.del.end = 1,
maxdur = 9,
includedaycrit = 1,
L5M5window = c(0,24),
M5L5res = 10,
winhr = c(5,10),
qlevels = c(c(1380/1440),c(1410/1440)),
qwindow=c(0,24),
ilevels = c(seq(0,400,by=50),8000),
mvpathreshold =c(100,120),
mvpadur =c(1,5,10),
#-------------------------------
# Part 3 parameters:
#-------------------------------
timethreshold= c(5),
anglethreshold=5,
ignorenonwear = TRUE,
#-------------------------------
# Part 4 parameters:
#-------------------------------
excludefirstlast = FALSE,
includenightcrit = 5,
def.noc.sleep = c(),
loglocation= "C:/Alba/03_Data/sleeplog_example.csv",
coln1 = 2,
colid=1,
outliers.only = FALSE,
criterror = 4,
relyonsleeplog = FALSE,
sleeplogidnum = FALSE,
do.visual = TRUE,
nnights = 9,
visualreport = TRUE,
#-------------------------------
# Part 5 parameters:
#-------------------------------
threshold.lig = c(30,40,50),
threshold.mod = c(100,120),
threshold.vig = c(400,500),
boutcriter = 0.8,
boutcriter.in = 0.9,
boutcriter.lig = 0.8,
boutcriter.mvpa = 0.8,
boutdur.in = c(10,20,30),
boutdur.lig = c(1,5,10),
boutdur.mvpa = c(1,5,10),
timewindow = c("WW"),
#-----------------------------------
# Report generation
#-------------------------------
do.report=c(1,2,3,4,5))`
-----------Sessioninfo----------
sessionInfo()
R version 3.3.2 (2016-10-31)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
locale:
[1] LC_COLLATE=Spanish_Spain.1252 LC_CTYPE=Spanish_Spain.1252 LC_MONETARY=Spanish_Spain.1252 LC_NUMERIC=C
[5] LC_TIME=Spanish_Spain.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] GGIR_1.5-16
loaded via a namespace (and not attached):
[1] zoo_1.7-14 tools_3.3.2 Rcpp_0.12.10 grid_3.3.2 GENEAread_1.1.1 data.table_1.10.2 bitops_1.0-6
[8] lattice_0.20-34