Description of all accelerometer files in the GGIR output and this script was executed when mode=2 in the main call.
ggir.summary(
bindir = NULL,
outputdir,
studyname,
numericID = FALSE,
sortByid = "filename",
subdir = "summary",
part5FN = "WW_L50M125V500_T5A5",
QChours.alpha = 16,
filename2id = NULL,
desiredtz = "US/Eastern",
trace = FALSE
)
character
Directory where the accelerometer files are stored or list for the purpose of extracting the bin file list. Default=NULL when it is not available and therefore the bin file list is extracted from the /meta/basic folder of the GGIR output.
character
Directory where the GGIR output was stored.
character
Specify the study name that used in the output file names
logical
Specify if the ID is numeric when checking ID errors in part2. Default is FALSE.
character
Specify the name of "ID" for each accelerometer file in the report of part2. The value could be "newID","id" and "filename". Defaut is "filename".
character
Sub-directory where the summary output was stored under the current directory. Defaut is "summary".
character
Specify which output is used in the GGIR part5 results. Defaut is "WW_L50M125V500_T5A5", which means that part5_daysummary_WW_L50M125V500_T5A5.csv and part5_personsummary_WW_L50M125V500_T5A5.csv are used in the analysis.
number
Minimum required number of valid hours in day specific analysis as a quality control step in part2. Default is 16 hours.
R function
User defined function for converting filename to sample IDs. Default is NULL.
charcter
desired timezone: see also http://en.wikipedia.org/wiki/Zone.tab. Used in g.inspectfile(). Default is "US/Eastern".
logical
Specify if the intermediate results is printed when the function was executed. Default is FALSE.
Four files were written to the specified sub-directory
This excel file includs 9 pages as follows,
List of files in the GGIR output
Summary of files
List of duplicate IDs
ID errors
Number of valid days
Table of number of valid/missing days
Missing patten
Frequency of the missing pattern
Description of all accelerometer files
Inspects accelerometer file for key information, including: monitor brand, sample frequency and file header
Some plots such as the number of valid days, which were included in the part2a_studyname_postGGIR.report.html file as well.
Intermediate results for description of each accelerometer file.
Create studyname_samples_remove.csv file by filling "remove" in the "duplicate" column in this template. If duplicate="remove", the accelerometer files will not be used in the data analysis of part 5-7.