I am trying to take a column of my data that is in factor format and change it to time in the format hours:minutes:seconds:milliseconds
I tried:
start.times <- as.POSIXct(as.character(start.times), format="%H:%M:%OS")
but it returned values with todays date and left out the milliseconds in them and that is not what I want. I also tried downloading chron and running the code:
start.times <- times(start.times) but this just returned NA's.....
Please help! My data is all about start times and end times of dolphin vocalizations and I am trying to find the mean whistle duration and the inter whistle interval. Anyways, I don't really know how to get my data into the format I need it in. Thank you!