make_smallest_bout_with_largest_inactive_period {walkboutr}R Documentation

Generate a sequence of accelerometer counts representing the smallest bout with the largest inactive period

Description

This function generates a sequence of accelerometer counts representing the smallest bout with the largest inactive period. The length of the inactive period is determined by the value of maximum_number_consec_inactive_epochs_in_bout variable.

Usage

make_smallest_bout_with_largest_inactive_period(
  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 and time, representing the accelerometer counts and the corresponding time stamps.

Examples

make_smallest_bout_with_largest_inactive_period()

[Package walkboutr version 0.6.0 Index]