check_continuous {hatchR} | R Documentation |
Check if the dates in a data frame are continuous.
Description
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)
[Package hatchR version 0.3.2 Index]