criterioBout | R Documentation |
Generates a vector that indicates for each row of a dataframe (usually epoch or BIN file) if that row meets the criteria to be considered part of a Bout (veryfy a criteria for ca percent of time of a minimum duration),
criterioBout(df, pctBouts = 1, durBoutMin = dseconds(5))
df |
data frame with columns .criterio and eventually .criterioNW (that represents NonWear time as TRUE/FALSE) |
pctBouts |
|
durBoutMin |
minimum amount of time that the condition muest be met to be aconsidered a Bout |
a boolean vector (TRUE/FAlSE) indicating if the condition of belonging to a Bout is met.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.