regular: Test if a time object is regular

regularR Documentation

Test if a time object is regular

Description

Test for regularity of a time object.

Usage

  regular(x, ...)

Arguments

x

object to test, from which get or set a property

...

arguments to or from other methods

Details

Test if the object is regular. A TimeInstantDataFrame is regular if all instants are equally spaced. A TimeIntervalDataFrame is regular if it is homogeneous and all interval's starts are equally spaced.

Value

boolean indicating if x is regular or not

See Also

TimeIntervalDataFrame, TimeInstantDataFrame


timetools documentation built on June 8, 2025, 1:54 p.m.