g.report.part5 {GGIR} | R Documentation |
Creates report from milestone data produced by g.part5. Not intended for direct use by package user
g.report.part5(metadatadir=c(),f0=c(),f1=c(),loglocation=c(),
includenightcrit=c(),includedaycrit=c(),
data_cleaning_file=c(),
includedaycrit.part5=2/3,
minimum_MM_length.part5=23,
week_weekend_aggregate.part5=FALSE,
LUX_day_segments=c())
metadatadir |
Directory that holds a folder 'meta' and inside this a folder 'basic' which contains the milestone data produced by g.part1. The folderstructure is normally created by g.part1 and GGIR will recognise what the value of metadatadir is. |
f0 |
File index to start with (default = 1). Index refers to the filenames sorted in alphabetical order |
f1 |
File index to finish with (defaults to number of files available, i.e., f1 = 0) |
loglocation |
see g.part4 |
includenightcrit |
Depricated as of version 2.0, not used anymore in part 5 report |
includedaycrit |
Depricated as of version 2.0, not used anymore in part 5 report |
data_cleaning_file |
see g.part4 |
includedaycrit.part5 |
Inclusion criteria for number of valid hours, either as expressed as a ratio of 1 or as the number of hours in a 24 hour day. |
minimum_MM_length.part5 |
Minimum length in hours of a MM day to be included in the cleaned part 5 results. |
week_weekend_aggregate.part5 |
Boolean to indicate whether week and weekend-days aggregates should be stored. This is turned off by default as it generates a large number of extra columns in the output report. |
LUX_day_segments |
see g.part5 |
Function does not produce data, but only writes reports in csv format
The following files are stored in the root of the results folder: part5_daysummary_* part5_personsummary_*
The following files are stored in the folder results/QC: part5_daysummary_full_*
See package vignette paragraph "Waking-waking or 24 hour time-use analysis" and "Output part 5" for a more elaborative description of the full day time-use and analysis and reporting.
Vincent T van Hees <v.vanhees@accelting.com>