Hi Z and Ben,
I’m also trying to run ActivPAL data through GGIR.
First, I have generated uncompressed raw csv. through “Palbatch version 8”. The csv. file has 5 columns: "Time", "Uncompressed sample index", "X", "Y" and "Z". What is currently unclear to me are the units in which, the .csv file, reports the results for all three axes.
Then, I have read it with GGIR, using the following code. Compared to the code you are using, do you see any obvious error in my code?
library(GGIR)
g.shell.GGIR(rmc.file=c(), rmc.nrow=c(), rmc.skip = 1, rmc.dec=".",
rmc.firstrow.acc = 2,
rmc.firstrow.header= c(),
rmc.header.length = c(),
rmc.col.acc = 3:5,
rmc.col.temp = c(),
rmc.col.time= 1,
rmc.unit.acc = "mg",
rmc.unit.temp = "C",
rmc.unit.time = "ActivPAL",
rmc.desiredtz = "Europe/Amsterdam",
rmc.sf = 20,
rmc.check4timegaps = FALSE,
rmc.col.wear = c(),
rmc.doresample=FALSE,
mode=c(1,2,3,4,5),
datadir="DB_ActivPAL",
outputdir="Results_ActivPAL",
do.report=c(2,4,5),
chunksize = 1,
do.cal = TRUE,
do.enmo = TRUE,
do.mad = TRUE,
windowsizes = c(5,900,3600),
#=====================
# Part 2
#=====================
Predetermined values…
Thanks in advance,
Kind regards,
Adrian
To view this discussion on the web, visit https://groups.google.com/d/msgid/RpackageGGIR/bd879de5-1722-4af3-ab66-a99473095612n%40googlegroups.com.