guess_frequency(yearquarter("2016 Q1") + 0:7)
guess_frequency(yearmonth("2016 Jan") + 0:23)
guess_frequency(seq(as.Date("2017-01-01"), as.Date("2017-01-31"), by = 1))
guess_frequency(seq(
as.POSIXct("2017-01-01 00:00"), as.POSIXct("2017-01-10 23:00"),
by = "1 hour"
))
Run the code above in your browser using DataLab