View source: R/process_accelerometry_counts_into_bouts.R
identify_non_wearing_periods | R Documentation |
Identify non-wearing periods: This function identifies non-wearing periods in accelerometry data based on a threshold of consecutive epochs with activity counts of 0.
identify_non_wearing_periods(
accelerometry_counts,
non_wearing_min_threshold_epochs
)
accelerometry_counts |
a data frame containing columns for time (in POSIXct format) and activity_counts |
non_wearing_min_threshold_epochs |
an integer value indicating the minimum number of consecutive epochs with 0 activity counts that constitute a non-wearing period |
Identify periods where the accelerometer is not being worn based on the activity counts and a minimum threshold value.
a data frame with the same columns as the input data frame accelerometry_counts
,
but with a new column named non_wearing
that indicates whether the
individual was wearing their accelerometer during a given period.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.