Re: [R] how to calculate time interval between dates

2009-08-01 Thread David Winsemius
On Jul 31, 2009, at 4:46 PM, liujb wrote: 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? That is not

[R] how to calculate time interval between dates

2009-08-01 Thread liujb
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.n