continuous {timetools} | R Documentation |
Test if a time object is continuous/set an time object continuous.
Description
For Time objects.
Usage
continuous(x, ...)
continuous(x) <- value
Arguments
x |
object to test |
value |
logical indicating whether x must be 'continuify' or not. |
... |
arguments to or from other methods |
Details
For objects based on time intervals. After ordering
intervals, test if the end of an interval is the start of
the next interval. If any interval overlap another one,
it returns FALSE
.
If not any interval overlap another, and the object is not continuous, the object can be set 'continuous' with
continuous(obj) <- TRUE
Intervals will be added such as the object can pass the test describe below. The data is filled with NA values.
Value
Logical indicating if the object is continuous or not.
or
The object set continous.
See Also
TimeIntervalDataFrame, POSIXcti
[Package timetools version 1.15.3 Index]