powered by
Extract M5 and L5 from time series, function used by g.analyse and not intended for direct use by package user. Please see g.analyse for further clarification on functionalities
g.getM5L5(varnum, epochSize, t0_LFMF, t1_LFMF, M5L5res, winhr, qM5L5 = c(), iglevels = c(), MX.ig.min.dur = 10)
DAYL5HOUR = Starting time in hours of L5
DAYL5VALUE = average acceleration during L5
DAYM5HOUR = Starting time in hours of M5
DAYM5VALUE = average acceleration during M5
V5NIGHT = average acceleration between 1am and 6am
Numeric vector of epoch values
Small epoch size in seconds
Start hour of the day for the M5L5 analyses, e.g. 0 for midnight
End hour of the day for the M5L5 analyses, e.g. 24 for midnight
Resolution of hte M5L5 analyses in minutes
windowsize of M5L5 analyses, e.g. 5 hours
Percentiles (quantiles) to be calculated over L5 and M5 window.
See g.analyse. If provided then the intensity gradient will be calculated for all MX windows larger or equal than argument MX.ig.min.dur
Minimum MX duration needed in order for intensity gradient to be calculated
Vincent T van Hees <v.vanhees@accelting.com>
if (FALSE) { data(data.getmeta) g.getM5L5(varnum=data.getmeta,ws3=5,t0_LFMF=0,t1_LFMF=24,M5L5res=10,winhr=5) }
Run the code above in your browser using DataLab