R - How to work with and plot time data -
i have following data (of following small sample):
times <- c("02:45:00", "02:45:07", "02:45:10", "02:45:20", "02:45:25", "02:45:27", "02:45:27", "02:45:30", "02:45:32", "02:45:37")
i plot these times , able have them in time variable format if possible. in graph, want able have different time bands in order create histogram of different distribution of times.
you strptime
familiar base time format.
then, might started:
hist(strptime(times,"%h:%m:%s"), "secs", freq = true, xlab="seconds")
Comments
Post a Comment