Learn R Programming

hatchR (version 0.3.2)

check_continuous: 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)

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.

Arguments

data

A data.frame, or data frame extension (e.g. a tibble).

dates

Column representing the date of the temperature measurements.

Examples

Run this code
library(hatchR)
check_continuous(crooked_river, date)

Run the code above in your browser using DataLab