Learn R Programming

GGIR (version 2.5-0)

HASIB: Heuristic algorithms for sustiained inactivty bouts detection

Description

Apply heuristic algorithms for sustiained inactivty bouts detection. Function not intended for direct use by package user

Usage

HASIB(HASIB.algo = "vanHees2015", timethreshold=c(), anglethreshold=c(), 
                 time=c(), anglez=c(), ws3=c(), zeroCrossingCount=c())

Arguments

HASIB.algo

Character to indicator which sib algorithm should be used. Default value: "vanHees2015". Other options: "Sadeh1994", "Galland2012"

anglethreshold
timethreshold
time

Vector with time per short epoch

anglez

Vector with z-angle per short epoch

ws3
zeroCrossingCount

Vector with zero crossing counts per epoch as required for Sadeh algortihm

Value

Vector with binary indicator of sustained inactivity bout, 1 is yes, 0 is no.