interval()
returns an interval of a tsibble.
is_regular
checks if a tsibble is spaced at regular time or not.
is_ordered
checks if a tsibble is ordered by key and index.
interval(x)
is_regular(x)
is_ordered(x)
A tsibble object.
interval(pedestrian)
#> Warning: tz(): Don't know how to compute timezone for object of class tbl_ts/tbl_df/tbl/data.frame; returning "UTC". This warning will become an error in the next major version of lubridate.
#> <Interval[0]>
is_regular(pedestrian)
#> [1] TRUE
is_ordered(pedestrian)
#> [1] TRUE