Compare-methods | 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.
Compare
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.