[R] Best way to replace :SS with :00

Jason Rupert jasonkrupert at yahoo.com
Thu Jul 16 21:25:04 CEST 2009


Not sure if there is an R way to do this or a regular express way, but here is what I am trying to do.

I've got lots of data where the format is HH:MM:SS, but I need to format it like HH:MM:00, i.e. round the second down to zero.  

What is the best way to do this? 

Thanks again.

Jason




More information about the R-help mailing list