Check if the dates in a data frame are continuous.
Usage
check_continuous(data, dates)
Arguments
- data
A data.frame, or data frame extension (e.g. a tibble).
- dates
Column representing the date of the temperature measurements.
Value
A message indicating if the dates are continuous or if there are breaks. If
there are breaks, a vector of row numbers where the breaks occur is returned.
Examples
library(hatchR)
check_continuous(crooked_river, date)
#> ℹ No breaks were found. All clear!