Skip to contents

All functions

create_test_acc_csv()
Creates csv data file for testing purposes
create_test_sleeplog_csv()
Creates csv sleeplog file for testing purposes
data.calibrate
Example output from g.calibrate
data.getmeta
Example output from g.getmeta
data.inspectfile
Example output from g.inspectfile
g.calibrate()
function to estimate calibration error and make recommendation for addressing it
g.getbout()
function to calculate bouts from vector of binary classes
g.getmeta()
Function to extract meta-data (features) from data in accelerometer file
g.imputeTimegaps()
Impute gaps in three axis raw accelerometer data
g.inspectfile()
function to inspect accelerometer file for brand, sample frequency and header
g.loadlog()
Load and clean sleeplog information
g.part1()
function to load and pre-process acceleration files
g.part2()
function to analyse and summarize pre-processed output from g.part1
g.part3()
Detection of sustained inactivity periods as needed for sleep detection in g.part4.
g.part4()
Labels detected sustained inactivity periods by g.part3 as either part of the Sleep Period Time window or not
g.part5()
Merge output from physical activity and sleep analysis into one report
g.plot5()
Generate user-friendly visual report. The first part of the report summarizes important daily metrics in bar plot format. The second part of the report shows the raw data and annotations in 24-hr periods. Angle-z is shown with sleep annotations during the SPT (sleep period time) window. ENMO is shown with daytime inactivity and PA (physical activity) annotations in the lower section of each 24-hr plot. The PA annotations are based on a 10 minute bout metric and 80 of a 10 minute bout of MVPA. Vigorous PA is a short window of time above threshold.vig that is part of a bout of MVPA. Light PA is a short window of time above threshold.lig that is part of a bout of light PA.
g.report.part2()
Generate report from milestone data produced by g.part2
g.report.part4()
Generate report from milestone data produced by g.part4
g.report.part5()
Generate report from milestone data produced by g.part5
g.shell.GGIR()
Wrapper function around function GGIR
GGIR-package
A package to process multi-day raw accelerometer data
GGIR()
Shell function for analysing an accelerometer dataset.
is.ISO8601()
Check whether character timestamp is in iso8601 format.
iso8601chartime2POSIX()
Convert iso8601 timestamps to POSIX timestamp
load_params()
Load default parameters
POSIXtime2iso8601()
Convert POSIX to iso8601 timestamp
read.myacc.csv()
Read custom csv files with accelerometer data