[R] Adding minutes to 24 hour time

Hosack, Michael mhosack at state.pa.us
Wed Mar 17 14:57:32 CET 2010


Hi,

Does anyone know how to add minutes (up to 100 min) to a 24 hour time, to create a new 24 hour time? I can't seem to find any documentation or examples explaining how to do this. The variables of interest are 'ARRIVE','WAIT', and 'DEPART' in the attached partial dataframe. I want 'DEPART' to be the "sum" of 'ARRIVE' and 'WAIT' in 24 hour format. Also, can anyone direct me to some relevant documentation?

Thank you,

Mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Dataframe.pdf
Type: application/pdf
Size: 81702 bytes
Desc: Dataframe.pdf
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20100317/8f86757f/attachment.pdf>


More information about the R-help mailing list