After I imported the text file into R, R omitted "0" in the time column.
For example:
Before import time | After import time
077250 | 77250
000002 | 2
Thus, unable to convert to the correct time format. (from 77250 to 07:25:50)
How can i convert the integer time to the correct time format?
I have tried:
chron (time, "%H:%M:%S")
strptime(time, "%H:%M:%S")
time <- as.hms(time)