criterioNoMVPA: Indicates which rows can not meet the criteria for be...

View source: R/criterioNoMVPA.R

criterioNoMVPAR Documentation

Indicates which rows can not meet the criteria for be considered part of a MVPA or higher, because there is not enough angle z mouvement (bic accelerations without change in angle, means probably the subject is in a car)

Description

Generates a vector that indicates for each row of a dataframe (usually epoch or BIN file) if that row verifies the condition to be considered a SIB, #'

Usage

criterioNoMVPA(df, critAnglez = 5, durBoutMin = dseconds(120))

Arguments

df

data frame with columns ANGLEZ, ENMO

critAnglez

represents minimum of deviation (in both directios) of angle Z that must happen in a MVPA bout

durBoutMin

minimum amount of time that the conditions must be met.

Value

a boolean vector (TRUE/FAlSE) indicating if the condition of belonging to a SIB is met.


fjbaron/accelerator documentation built on July 7, 2023, 6:52 p.m.