Re: [R] A Question Re ISOdatetime

2011-12-14 Thread Alex Zhang
Thank you very much, Prof Ripley. The problem is solved and my understanding is improved.  Happy holidays! - Alex From: Prof Brian Ripley To: Alex Zhang Cc: "r-help@R-project.org" Sent: Wednesday, December 14, 2011 11:39 AM Subject: Re: [R] A Q

Re: [R] A Question Re ISOdatetime

2011-12-14 Thread Prof Brian Ripley
On 14/12/2011 16:24, Alex Zhang wrote: Dear all, I am using the ISOdatetime function like this: test.info$TradeTime = with(test.info, mapply(FUN = ISOdatetime, Year, Month, Day, Hour, Minute, 60, "EST")) Where Year, Month etc are all numeric. I think ISOdatetime should return a POSIXct obje

[R] A Question Re ISOdatetime

2011-12-14 Thread Alex Zhang
Dear all, I am using the ISOdatetime function like this: test.info$TradeTime = with(test.info, mapply(FUN = ISOdatetime, Year, Month, Day, Hour, Minute, 60, "EST")) Where Year, Month etc are all numeric. I think ISOdatetime should return a POSIXct object. However, the result I obtained from