• 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)

Arguments

x

A tsibble object.

Examples

interval(pedestrian)
#> Error in as.POSIXct.default(x, tz = tz): do not know how to convert 'x' to class “POSIXct”
is_regular(pedestrian)
#> [1] TRUE
is_ordered(pedestrian)
#> [1] TRUE