This function creates a non-bout window, which is a period of inactivity that is not long enough to be considered as an inactive bout.
Usage
make_non_bout_window(maximum_number_consec_inactive_epochs_in_bout = 3)
Arguments
- maximum_number_consec_inactive_epochs_in_bout
maximum number of consecutive inactive epochs in a bout before it is terminated
Value
a data frame with columns "activity_counts", "bout", "non_wearing", "complete_day"
Examples
make_non_bout_window()
#> activity_counts bout non_wearing complete_day
#> 1 0 0 FALSE FALSE
#> 2 0 0 FALSE FALSE
#> 3 0 0 FALSE FALSE
#> 4 0 0 FALSE FALSE