Check for substantial gaps in the time series
check_for_data_gaps.Rd
Check for substantial gaps in the time series
Arguments
- dat
Data frame with at least three columns:
TIMESTAMP
(must be possible to convert to POSIXct),DEPTH
, andVALUE
. If columnVARIABLE
is included, it must have one unique entry. May also include columns with grouping variables passed to...
. Other columns will be ignored.- ...
Additional columns in
dat
to use as grouping variables. Results are automatically grouped byDEPTH
.- gap_length
The length of time in hours to consider a sampling gap. Default is
gap_length = 2
hours, which is twice the sampling interval of the least frequent sensor.- 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
gap_warning = 6
hours.- quiet
Logical argument to suppress Warning message when gap lengths exceed
gap_warning
. Ifquiet = TRUE
, the Warning will not be printed.