[R] expanding out date and time

Thomas Gerds gerds at fdm.uni-freiburg.de
Fri Feb 21 15:56:15 CET 2003


strsplit("09:25:45",":")
[[1]]
[1] "09" "25" "45"

tomy
"James Taylor" <james at tifton.uga.edu> writes:

> Hi,
>
>  
>
> What is the easiest way yo convert a column of time eg 09:25:45 into
> three columns of hour, minute,seconds
>
>  
>
> Thanks
>
>  
>
> James
>
>
> 	[[alternate HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> http://www.stat.math.ethz.ch/mailman/listinfo/r-help

-- 
no signature




More information about the R-help mailing list