| Ops.Date | R Documentation |
Operators for the"Date" class.
There is anOps method and specificmethods for+ and- for theDate class.
date + xx + datedate - xdate1 lop date2
date | date objects |
date1, date2 | date objects or character vectors. (Charactervectors are converted by |
x | a numeric vector (in days)or an object of class |
lop | One of |
x does not need to be integer if specified as a numeric vector,but see the comments about fractional days in the help forDates.
(z <- Sys.Date())z + 10z < c("2009-06-01", "2010-01-01", "2015-01-01")Add the following code to your website.
For more information on customizing the embed code, readEmbedding Snippets.
