get_interval: Get the interval of a datetime variable.
Description
The interval is the highest time 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.
Usage
get_interval(x)
Arguments
x
A variable of class of class Date or of class POSIXt.
Value
A character string indicating the interval of x.
Details
See vignette("padr") for more information on intervals.