This function creates an active period of minimum length defined by the parameter minimum_bout_length.
Usage
make_smallest_bout_window(
minimum_bout_length = 10,
is_bout = TRUE,
non_wearing = FALSE,
complete_day = FALSE
)
Arguments
- minimum_bout_length
is the minimum number of epochs for something to be considered a bout
- is_bout
Logical indicating if the active period is a bout
- non_wearing
Logical indicating if the active period is a non-wearing period
- complete_day
Logical indicating if the active period is a complete day
Value
A data.frame with columns activity_counts, bout, non_wearing, and complete_day representing the smallest bout window.