I\'ve got some performance time data in mm:ss.00 format (i.e. 02:15.45, or 00:34.58). R is recognizing the variable as a factor, but I\'d like to convert each performance t
library(lubridate) df$variable<- hms(df$variable) df$variable<- as.numeric(df$variable)
make it a one-liner is ok as well. Works like a charm for me. I hope this helps.