g.part5.analyseRest {GGIR} | R Documentation |
Analyse rest (internal function)
Description
Analyses overlap self-reported napping, non-wear and sib. Internal function not intended for direct use by GGIR end-user.
Usage
g.part5.analyseRest(sibreport = NULL, dsummary = NULL,
ds_names = NULL, fi = NULL,
di = NULL, time = NULL, tz = NULL,
possible_nap_dur = 0,
possible_nap_edge_acc = Inf)
Arguments
sibreport |
sibreport data.frame produced by g.sibreport |
dsummary |
matrix created internally by g.part5 |
ds_names |
character vector with variable names corresponding to dsummary created internally by g.part5 |
fi |
Numeric scalar to indicate variable index, created internally by g.part5 |
di |
Numeric scalar to indicate recording index, created internally by g.part5 |
time |
Daytime section of time column from the ts object, created internally by g.part5, |
tz |
Timezone database name |
possible_nap_dur |
Minimum sib duration to be considered. For self-reported naps/nonwear there is a minimum duration of 1 epoch. |
possible_nap_edge_acc |
Maximum acceleration before or after the SIB for it to be considered. |
Value
List with updated objects dsummary, ds_names, fi, and di
Author(s)
Vincent T van Hees <v.vanhees@accelting.com>