Learn R Programming

GGIR (version 2.6-0)

g.analyse.perfile: Function supports g.analyse. Not intended for direct use by user.

Description

Generates recording specific analyses and fills corresponding output matrix, g.analyse.

Usage

g.analyse.perfile(ID, fname, deviceSerialNumber,
  BodyLocation, startt, I, LC2, LD, dcomplscore,
  LMp, LWp, C, lookat, AveAccAve24hr, 
  colnames_to_lookat, QUAN,  ML5AD,
  ML5AD_names, igfullr, igfullr_names,
  daysummary, ds_names, includedaycrit, strategy, hrs.del.start,
  hrs.del.end, maxdur, windowsizes, idloc, snloc, wdayname, doquan,
  qlevels_names, doiglevels, tooshort, InterdailyStability, 
  IntradailyVariability,
  IVIS_windowsize_minutes, qwindow, longitudinal_axis_id)

Arguments

ID

Person Identification number, this can be numeric or character

deviceSerialNumber

As produced by g.extractheadervars

BodyLocation

as produced by g.extractheadervars

startt

First timestamp in metalong

LC2
LD

length data in minutes

dcomplscore
LMp

length measurement based on study protocol (minutes)

LWp

length of sensor worn based on study protocol (minutes)

C
lookat

indices of metashort column to analyse

AveAccAve24hr

Average acceleration in an average 24 hour cycle

colnames_to_lookat

Names of columns to look at, corresponding to argurment lookat

QUAN

Results quantile analysis on the average day produced by g.analyse.avday

ML5AD

Results ML5 analyses on the average day produced by g.analyse.avday

ML5AD_names

Columns names corresponding to ML5AD

igfullr

Results intensity gradient (ig) analysis on the average day produced by g.analyse.avday

igfullr_names

Columns names corresponding to igfullr

daysummary

object produced by g.analyse.perday

ds_names

column names corresponding to daysummary

includedaycrit
strategy
hrs.del.start
hrs.del.end
maxdur
windowsizes
idloc
snloc
wdayname

character with weekdayname

doquan

Boolean whether quantile analysis should be done

qlevels_names

object produced by g.analyse.avday

doiglevels

Boolean to indicate whether iglevels should be calculated

tooshort

0 (file not too short) or 1 (file too short)

InterdailyStability

see g.IVIS

IntradailyVariability

see g.IVIS

IVIS_windowsize_minutes

see g.IVIS

qwindow
longitudinal_axis_id

Index of axis for which the angle correlates most strongly across 24 hoursas calculated inside g.analyse. For hip worn accelerometer this helps to check which axis was the veritcal axis. The estimate may not be informative for other attachment locations.

Value

filesummary

summary for the file that was analysed

daysummary

Summary per day for the file that was analysed