Compare-methods {mondate} | R Documentation |
Methods for the Compare
group of functions.
signature(e1 = "mondate", e2 = "mondate")
compares two mondate
s.
The usual recycling rules apply to the shorter of the two mondate
s.
The result will be logical.
The usual rules apply as to the shape of the result.
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)