make_smallest_bout_with_largest_inactive_period: Generate a sequence of accelerometer counts representing the...

View source: R/sample_data.R

make_smallest_bout_with_largest_inactive_periodR 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()

walkboutr documentation built on May 29, 2024, 2:58 a.m.