regular {timetools}R 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


[Package timetools version 1.15.3 Index]