I am trying to identify the average time in a column of a data frame in hr:min:sec format using R. But no luck. Help is much appreciated. Data sample is as below:
You can use chron library. Specifically, times function. Note that times internally represents time as a numeric value (decimal days).
chron
times
Col_Time = c('03:08:20','03:11:30','03:22:18','03:27:39') library(chron) mean(times(Col_Time)) #[1] 03:17:27