character into time conversion
one simple question that is driving me crazy.. I have a time column in
this format:
time
00:05:00
00:10:00
00:15:00
10:20:00
10:25:00
How can I convert all the values in time (just like the as.Date function
works for dates)? I tried
df$time <- chron(df$time)
but it just convert the values into atomic ones. I also read this post but
it doesn't help me.
No comments:
Post a Comment