The interval is the highest datetime unit that can explain all instances of a
variable of class Date, class POSIXct, or class POSIXct.
This function will determine what the interval of the variable is.
get_interval(x)
| x | A variable of class of class |
|---|
A character string indicating the interval of x.
See vignette("padr") for more information on intervals.
#> [1] "month"#> [1] "sec"#> [1] "5 sec"