Description Usage Arguments Value
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, i.e Anglez variying a few degrees for a certain amount of time (durBoutMin, and ENMO lower than a low value)
1 2 | criterioSIB(df, critAnglez = 5, limSup = 30/1000,
durBoutMin = dminutes(5), durEpoch = dseconds(5))
|
df |
data frame with columns ANGLEZ, ENMO and eventually .criterioNW (that represents NonWear time as TRUE/FALSE) |
critAnglez |
represents maximum of deviation (in both directios) of angle Z that it is allowed during a SIB |
limSup |
superior limit for ENMO |
durBoutMin |
minimum amount of time that the conditions must be met to beconsidered a SIB period |
durEpoch |
amount of time that represents each row of the dataframe (duration of a epoch usually) |
a boolean vector (TRUE/FAlSE) indicating if the condition of belonging to a SIB is met.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.