has_missing_epochs: Checks whether there are gaps in the time series

View source: R/impute_epochs.R

has_missing_epochsR Documentation

Checks whether there are gaps in the time series

Description

The timestamps in the agd time series should run from first(timestamp) to last(timestamp) in increments of epochlength seconds. This function checks whether this holds or not. If the data is grouped (e.g., by subject), the check is performed for each group separately.

Usage

has_missing_epochs(agdb)

Arguments

agdb

A tibble of activity data with an epochlength attribute.

Value

TRUE or FALSE


dipetkov/actigraph.sleepr documentation built on March 25, 2022, 2:33 a.m.