tidyverse / lubridate

Make working with dates in R just that little bit easier
https://lubridate.tidyverse.org
GNU General Public License v3.0
724 stars 207 forks source link

m:s:ms time data #1160

Open amoyguang opened 4 months ago

amoyguang commented 4 months ago

Hello, I have data collected at time intervals in txt file as below:

Time/Pos 00:00:560 00:14:590 00:21:320 00:28:050 00:34:780 00:41:510 00:48:260

How to read the files so that R knows this is time data? When I read the data, I get data shown as 00.00.56. In this case, how can I change the format to decimal format?

Thanks a lot.