I want to generate time sequence of a day by a minute difference using R like
00:00, 00:01, 00:02, ..., 23:59
For the same, I am using timeBasedSeq
function of xts package with following lines of code
timerange1<- paste('T00:00','/','T23:59',' 12:00',sep="")
timeBasedSeq(timerange1)
But, I am not able to generate the sequence with this. Also, I do not understand what 12:00
mean in first line of code, i.e., how does it relate to minutes or hours or seconds.
Any help will be appreciated.