Compare-methods: Comparison Methods

Description Methods See Also Examples

Description

Methods for the Compare group of functions.

Methods

signature(e1 = "mondate", e2 = "mondate")

compares two mondates. The usual recycling rules apply to the shorter of the two mondates. The result will be logical. The usual rules apply as to the shape of the result.

See Also

Compare

Examples

1
2
3
A<-mondate.ymd(2001:2003,12,31) # three year ends
B<-mondate.ymd(2001:2003, 6,30) # three mid-years
B<A                             # c(TRUE, TRUE, TRUE)

mondate documentation built on Jan. 29, 2021, 5:06 p.m.