Description Usage Arguments Value
View source: R/part1_csv_data_transform.R
An accelerometer file was transformed into wide data matrix, in which the rows represent available days and the columns including all timestamps for 24 hours. Further, the wide data was merged together.
1 2 3 4 5 6 7 8 9 10 11 12  ggir.datatransform(
outputdir,
subdir,
studyname,
numericID = FALSE,
sortByid = "newID",
f0 = 1,
f1 = 1e+06,
epochIn = 5,
epochOut = 600,
mergeVar = 1
)

outputdir 

subdir 

studyname 

numericID 

sortByid 

f0 

f1 

epochIn 

epochOut 

mergeVar 

mergeVar = 1 
Six files were written to the specified subdirectory as follows, 
nonwearscore_studyname_f0_f1_Xs.xlsx 
Data matrix of nonwearscore, where f0 and f1 are the file index to start and finish with and Xs is the epoch size to which acceleration was averaged (seconds) in GGIR output. 
clippingscore_studyname_f0_f1_Xs.xlsx 
Data matrix of clippingscore 
lightmean_studyname_f0_f1_Xs.xlsx 
Data matrix of lightmean 
lightpeak_studyname_f0_f1_Xs.xlsx 
Data matrix of lightpeak 
temperaturemean_studyname_f0_f1_Xs.xlsx 
Data matrix of temperaturemean 
EN_studyname_f0_f1_Xs.xlsx 
Data matrix of EN 
mergeVar = 2 
Two files were written to the specified subdirectory as follows, 
studyname_ENMO.dataf0_f1_Xs.xlsx 
Data matrix of ENMO, where f0 and f1 are the file index to start and finish with and Xs is the epoch size to which acceleration was averaged (seconds) in GGIR output. 
studyname_ANGLEZ.dataf0_f1_Xs.xlsx 
Data matrix of ANGLEZ 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.