View source: R/process_accelerometry_counts_into_bouts.R
identify_complete_days | R Documentation |
Identify complete wearing days This function identifies complete days based on accelerometry data by calculating the total number of epochs worn per day and comparing it to the minimum number of wearing epochs per day required to consider a day complete.
identify_complete_days(
accelerometry_counts,
min_wearing_hours_per_day,
epoch_length,
local_time_zone
)
accelerometry_counts |
A data frame containing accelerometry counts and non-wearing epochs. |
min_wearing_hours_per_day |
Minimum number of hours of wearing time required for a day to be considered complete. |
epoch_length |
The duration of an epoch in seconds. |
local_time_zone |
The local time zone of the data. The data come in and are returned in UTC, but the local time zone is used to compute complete_days. |
A data frame containing accelerometer counts, non-wearing epochs, and a binary variable indicating if the day is complete or not.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.