Skip to contents

This function generates a list of activity epochs with specified minimum active counts per epoch, minimum bout length, maximum number of consecutive inactive epochs in a bout, minimum non-wearing length, and minimum complete day length.

Usage

make_active_period(
  length = 1,
  is_bout = TRUE,
  non_wearing = FALSE,
  complete_day = FALSE
)

Arguments

length

Length of the active period

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 list of activity epochs