Detects sustiained inactivty bouts. Function not intended for direct use by package user
g.sib.det(M, IMP, I, twd=c(-12,12), anglethreshold = 5,
timethreshold = c(5,10), acc.metric = "ENMO",
desiredtz="", constrain2range=TRUE,
myfun=c(), sensor.location = "wrist", HASPT.algo="HDCZA",
HASIB.algo = "vanHees2015",
Sadeh_axis = "Y", longitudinal_axis=c(), HASPT.ignore.invalid=FALSE)
Object produced by g.getmeta
Object produced by g.impute
Object produced by g.inspectfile
Vector of length 2, indicating the time window to consider as hours relative to midnight.
See g.part3
See g.part3
Which one of the metrics do you want to consider to analyze L5. The metric of interest need to be calculated in M (see g.part1)
See g.part3
See g.part3
External function object to be applied to raw data. See details applyExtFunction.
See g.part3
Character to indicate what heuristic algorithm to use for detecting the SPT window, see HASPT
Character to indicate what heuristic algorithm to use for detecting the SIB window, see HASIB
Character to indicate which axis to use for the Sadeh1994 algorithm, and other algortihms that related on count-based Actigraphy such as Galland2012.
Integer, to indicate which axis is the longitudinal axis. If not provided function will estimate longitudinal axis. Only used when sensor.location="hip" or HASPT.algo="HorAngle".
See HASPT
output = Dataframe for every epoch a classification
detection.failed = Boolean whether detection failed
L5list = L5 for every day (defined from noon to noon)