Re: [R] Calculate Averages for time data

2009-11-03 Thread Gabor Grothendieck
Next time please provide sample input. library(chron) # input ch - c(02:24:00, 04:48:00, 07:12:00, 09:36:00, 12:00:00, 14:24:00, 16:48:00, 19:12:00, 21:36:00) # convert to times tt - times(ch) # calculate mean mean(tt) On Tue, Nov 3, 2009 at 10:35 AM, Sunita22 sunita...@gmail.com wrote:

Re: [R] Calculate Averages for time data

2009-11-03 Thread Sunita Patil
Thank you so much it did solve my purpose. Regards Our Thoughts have the Power to Change our Destiny. Sunita On Tue, Nov 3, 2009 at 9:15 PM, Gabor Grothendieck ggrothendi...@gmail.comwrote: Next time please provide sample input. library(chron) # input ch - c(02:24:00, 04:48:00,