[R] how to calculate time interval between dates
liujb
liujulia7 at yahoo.com
Fri Jul 31 22:46:59 CEST 2009
Dear R users:
I have a vector of dates as follows:
t <- c("2007-01-05", "2007-05-14", "2007-12-28", "2008-01-09", "2008-04-24",
"2009-02-14")
I'd like to calculate number of days between those dates (time interval).
How to do it?
Thank you,
Julia
--
View this message in context: http://www.nabble.com/how-to-calculate-time-interval-between-dates-tp24762840p24762840.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list