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 Aug. 29, 2023, 5:09 p.m.