View source: R/check_for_data_gaps.R
check_for_data_gaps | R Documentation |
Check for substantial gaps in the time series
check_for_data_gaps(dat, ..., gap_length = 2, gap_warning = 6, quiet = FALSE)
dat |
Data frame with at least three columns: |
... |
Additional columns in |
gap_length |
The length of time in hours to consider a sampling gap.
Default is |
gap_warning |
The length of time in hours to consider a substantial
sampling gap. A warning can be printed if any gaps exceed this duration.
Default is |
quiet |
Logical argument to suppress Warning message when gap lengths
exceed |
Returns summary table with GAP_START
,GAP_LENGTH_DAYS
,
and GAP_LENGTH_HOURS
for each grouping variable for all intervals
between observations that exceed gap_length
.
A warning will be displayed if any intervals exceed gap_warning
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.