[R] Convert date to integer

thoeb t.hoebinger at gmail.com
Tue Mar 31 10:18:44 CEST 2009

Hello, I have a dataframe containing dates, times and other parameters. The
times have the format "h:m", e.g. 13:00 or 5:30, R classes them as factors.
I want to change the times to integers e.g. 13:00 -> 1300. I tried to use
"chron" to create a chronological object, but it didn't work for the times
(yust for the dates). 

Tamara Hoebinger
University of Vienna
View this message in context: http://www.nabble.com/Convert-date-to-integer-tp22800457p22800457.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list