Generates recording specific analyses and fills corresponding output matrix, g.analyse.
Usage
g.analyse.perfile(ID, fname, deviceSerialNumber,
sensor.location, 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, cosinor_coef)Arguments
- ID
Person Identification number, this can be numeric or character
- fname
see g.analyse.perday
- deviceSerialNumber
As produced by g.extractheadervars
- sensor.location
as produced by g.extractheadervars
- startt
First timestamp in metalong
- I
output g.inspectfile
- LC2
see g.impute
- LD
length data in minutes
- dcomplscore
see g.impute
- LMp
length measurement based on study protocol (minutes)
- LWp
length of sensor worn based on study protocol (minutes)
- C
output g.calibrate
- 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
see g.analyse
- strategy
see g.analyse
- hrs.del.start
see g.analyse
- hrs.del.end
see g.analyse
- maxdur
see g.analyse
- windowsizes
see g.getmeta
- idloc
see g.analyse
- snloc
see g.analyse
- 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
see g.analyse
- 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.
- cosinor_coef
output from cosinorAnlayses passed on to be included in file summary