Description Usage Arguments Value
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),
1 2 | criterioBout(df, pctBouts = 1, durBoutMin = dseconds(5),
durEpoch = dseconds(5))
|
df |
data frame with columns .criterio and eventually .criterioNW (that represents NonWear time as TRUE/FALSE) |
durBoutMin |
minimum amount of time that the condition muest be met to be aconsidered a Bout |
durEpoch |
amount of time that represents each row of the dataframe (duration of a epoch usually) |
pctBout |
represents fraction of time that the .criterio must be TRUE |
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.