==.CFTime {CFtime} | R Documentation |
Equivalence of CFTime objects
Description
This operator can be used to test if two CFTime objects represent the same
CF-convention time coordinates. Two CFTime
objects are considered equivalent
if they have an equivalent calendar and the same offsets.
Usage
## S3 method for class 'CFTime'
e1 == e2
Arguments
e1 , e2 |
Instances of the |
Value
TRUE
if the CFTime
objects are equivalent, FALSE
otherwise.
Examples
e1 <- CFtime("days since 1850-01-01", "gregorian", 0:364)
e2 <- CFtime("days since 1850-01-01 00:00:00", "standard", 0:364)
e1 == e2
[Package CFtime version 1.6.2 Index]