Is there any way to create in R a 24 hour vector with 5 minutes time interval from scratch or from an integer format like this:
2355 which would correspond to 23:55<
Try
outer(c(0, seq_len(23)), seq(0, 55, 5), function(x, y) paste0(sprintf("%02.f", x) , ":", sprintf("%02.f", y)))