HASIB: Heuristic algorithms for sustiained inactivty bouts detection

View source: R/HASIB.R

HASIBR Documentation

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(),
                 BrondCount = c(),
                 NeishabouriCount = c(), activity = NULL)

Arguments

HASIB.algo

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

anglethreshold

See g.sib.det

timethreshold

See g.sib.det

time

Vector with time per short epoch

anglez

Vector with z-angle per short epoch

ws3

See g.getmeta

zeroCrossingCount

Vector with zero crossing counts per epoch as required for count-based algorithms

BrondCount

Vector with Brond counts per epoch to be used by the count-based algorithms

NeishabouriCount

Vector with Neishabouri counts per epoch to be used by the count-based algorithms

activity

Magnitude of acceleration, only used when HASIB.algo is set to NotWorn. Acceleration metric used is specified by argument acc.metric elsewhere in GGIR.

Value

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

Author(s)

Vincent T van Hees <v.vanhees@accelting.com>


GGIR documentation built on Oct. 17, 2023, 1:12 a.m.