Raw Accelerometer Data Analysis
Append GGIR milestone data from neighbouring or overlapping recordings
Apply Cosinor Analyses to time series
Apply external function to acceleration data.
Calculates Sleep Regularity Index
Function to revise format of user-provided logs
Checks myfun object before it is passed to applyExtfunction
Check default parameters
Checks for existence of folders to process
convert external Epoch data to GGIR part 1 milestone data format
Corrects milestone data from g.part1 generated in older GGIR versions
Apply cosinor anlaysis and extended cosinor analysis
Creates csv data file for testing purposes
Creates csv sleeplog file for testing purposes
Creates Config File based on variables in function GGIR environment
Generates vector of file names out of datadir input argument
Detect non-wear and clipping time in the raw accelerometer data
Extract parameters from input and add them to params
Extract ID from file header object
Abbreviates daynames to numbers, needed for report generation in g.plo...
Function supports g.analyse . Not intended for direct use by user.
Function supports g.analyse . Not intended for direct use by user.
Function supports g.analyse . Not intended for direct use by user.
Function to analsyse meta-data generated by g.getmeta and g.impute
Extract metrics from acceleration signals
function to estimate calibration error and make recommendation for add...
Function to read activity log and make it useful for the rest of GGIR.
Convert part 2 report to long format
Converts sleep period information. Not intended for direct use
Detect all midnights in a time series
Assesses whether decimals in fileheader are stored with comma or dot s...
Extracts header variables from header object
Fragmentation metrics from time series.
function to calculate bouts from vector of binary classes
Extract M5 and L5 from time series
Function to extract meta-data (features) from data in accelerometer fi...
Extract start time of a measurement
Function to identify invalid periods in the meta-data as generated by ...
Impute gaps in three axis raw accelerometer data
function to inspect accelerometer file for brand, sample frequency and...
Intensity gradient calculation
Calculates IV and IS
Load and clean sleeplog information
function to load and pre-process acceleration files
function to analyse and summarize pre-processed output from g.part1
Detection of sustained inactivity periods as needed for sleep detectio...
Extracts ID from filename and finds matching rows in sleeplog
Labels detected sustained inactivity periods by g.part3 as either part...
Analyses the time series per time segment for part 5
Initialise time series data from for part 5
Adds first wake if it is missing in part 4 output.
Adds the sustained inactivity bout to the ts series.
Analyse rest (internal function)
Classify Naps from identified sustained inactivty bouts
Fix missing night in part 4 output
Fix missing night in part 4 output
Check lux values for extremes and imputes or removes them
Extract key lux variables per segment of the data.
Identify wake and sleepperiod window timing
Merge output from physical activity and sleep analysis into one report
Saves part 5 time series to csv files
Label wake and sleepperiod window
Perform temporal pattern analyses
function to generate a plot for quality check purposes
Generate user-friendly visual report. The first part of the report sum...
Generic functiont to read large blocks of accelerometer data
Reads the temperature from movisens files.
Generate report from milestone data produced by g.part2
Generate report from milestone data produced by g.part4
Generate data dictionary for reports from milestone data produced by g...
Generate report from milestone data produced by g.part5
Generate report from milestone data produced by g.part6
Wrapper function around function GGIR
sustiained inactivty bouts detection
Create plot of sustained inactivity bouts
sustiained inactivty bouts detection
Generate sustiained inactivty bouts report
Detects whether accelerometer is worn
Set monitor brand specific parameters
Get starttime (adjusted), weekday, and adjust data accordingly.
Extracts folderstructure based on data directory.
A package to process multi-day raw accelerometer data
Shell function for analysing an accelerometer dataset.
Heuristic algorithms for sustiained inactivty bouts detection
Heuristic Algorithms estimating SPT window.
Identifies levels of behaviour for g.part5 function.
Check whether the night starting on a calendar date has DST.
Check whether character timestamp is in iso8601 format.
Checks whether datadir is a directory or a vector with filenames
Checks whether the files to process are collected with movisens accele...
Convert iso8601 timestamps to POSIX timestamp
Load default parameters
Builds Section for Parameters Vignette
part6AlignIndividuals
part6PairwiseAggregation
Convert POSIX to iso8601 timestamp
Read custom csv files with accelerometer data
Extract Definition from Shell Documentation
Round numeric columns and replace NA/NaN values by blank
Update blocksize of data to be read depending on available memory.
A tool to process and analyse data collected with wearable raw acceleration sensors as described in Migueles and colleagues (JMPB 2019), and van Hees and colleagues (JApplPhysiol 2014; PLoSONE 2015). The package has been developed and tested for binary data from 'GENEActiv' <https://activinsights.com/>, binary (.gt3x) and .csv-export data from 'Actigraph' <https://theactigraph.com> devices, and binary (.cwa) and .csv-export data from 'Axivity' <https://axivity.com>. These devices are currently widely used in research on human daily physical activity. Further, the package can handle accelerometer data file from any other sensor brand providing that the data is stored in csv format. Also the package allows for external function embedding.
Useful links